summaryrefslogtreecommitdiff
path: root/app/services/clusters/applications/destroy_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/clusters/applications/destroy_service.rb')
-rw-r--r--app/services/clusters/applications/destroy_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/clusters/applications/destroy_service.rb b/app/services/clusters/applications/destroy_service.rb
index fc74e1300a9..f3a4c4f754a 100644
--- a/app/services/clusters/applications/destroy_service.rb
+++ b/app/services/clusters/applications/destroy_service.rb
@@ -16,7 +16,7 @@ module Clusters
private
def builder
- cluster.method("application_#{application_name}").call
+ cluster.public_send(:"application_#{application_name}") # rubocop:disable GitlabSecurity/PublicSend
end
end
end