diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-28 03:11:00 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-28 03:11:00 +0300 |
commit | e39b6277eb4f4560af5c541a79d890e8186f130e (patch) | |
tree | 748bfcc631f919e622e560250a464a30c7f458b1 /app/services/clusters | |
parent | 1f992463a93d2db88a661dd2a60a1f0a81375f44 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/clusters')
-rw-r--r-- | app/services/clusters/applications/create_service.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/app/services/clusters/applications/create_service.rb b/app/services/clusters/applications/create_service.rb deleted file mode 100644 index 2a626a402e4..00000000000 --- a/app/services/clusters/applications/create_service.rb +++ /dev/null @@ -1,18 +0,0 @@ -# frozen_string_literal: true - -module Clusters - module Applications - class CreateService < Clusters::Applications::BaseService - private - - def worker_class(application) - application.updateable? ? ClusterUpgradeAppWorker : ClusterInstallAppWorker - end - - def builder - cluster.public_send(application_class.association_name) || # rubocop:disable GitlabSecurity/PublicSend - cluster.public_send(:"build_application_#{application_name}") # rubocop:disable GitlabSecurity/PublicSend - end - end - end -end |