Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/clusters/applications/update_service.rb')
-rw-r--r--app/services/clusters/applications/update_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/clusters/applications/update_service.rb b/app/services/clusters/applications/update_service.rb
index 0fa937da865..7a36401f156 100644
--- a/app/services/clusters/applications/update_service.rb
+++ b/app/services/clusters/applications/update_service.rb
@@ -10,7 +10,7 @@ module Clusters
end
def builder
- cluster.public_send(:"application_#{application_name}") # rubocop:disable GitlabSecurity/PublicSend
+ cluster.public_send(application_class.association_name) # rubocop:disable GitlabSecurity/PublicSend
end
end
end