diff options
Diffstat (limited to 'app/workers/cluster_install_app_worker.rb')
-rw-r--r-- | app/workers/cluster_install_app_worker.rb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/app/workers/cluster_install_app_worker.rb b/app/workers/cluster_install_app_worker.rb index e16e6e9ca71..0c94f8cad6a 100644 --- a/app/workers/cluster_install_app_worker.rb +++ b/app/workers/cluster_install_app_worker.rb @@ -1,5 +1,8 @@ # frozen_string_literal: true +# DEPRECATED +# +# To be removed by https://gitlab.com/gitlab-org/gitlab/-/issues/366573 class ClusterInstallAppWorker # rubocop:disable Scalability/IdempotentWorker include ApplicationWorker @@ -12,9 +15,5 @@ class ClusterInstallAppWorker # rubocop:disable Scalability/IdempotentWorker worker_has_external_dependencies! loggable_arguments 0 - def perform(app_name, app_id) - find_application(app_name, app_id) do |app| - Clusters::Applications::InstallService.new(app).execute - end - end + def perform(app_name, app_id); end end |