summaryrefslogtreecommitdiff
path: root/app/workers
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-11-02 15:31:25 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2017-11-02 15:31:25 +0100
commit30938b898c5415d8ec5cdf6c9851c45c1464c1a0 (patch)
tree39414abe26bb1eff4fea56cbff2a4eb356d03474 /app/workers
parent64be8d70ae20928df351e495a3442bb6036bc3e7 (diff)
downloadgitlab-ce-30938b898c5415d8ec5cdf6c9851c45c1464c1a0.tar.gz
Fix and add applications controller
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/concerns/cluster_app.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/concerns/cluster_app.rb b/app/workers/concerns/cluster_app.rb
index a0202901f15..947cdaefcb7 100644
--- a/app/workers/concerns/cluster_app.rb
+++ b/app/workers/concerns/cluster_app.rb
@@ -3,7 +3,7 @@ module ClusterApp
included do
def find_app(app_name, id)
- Clusters::Applications.const_get(app_name.classify).find(id).try do |app|
+ Clusters::Cluster::APPLICATIONS[app_name].find(id).try do |app|
yield(app) if block_given?
end
end