diff options
author | Tiger <twatson@gitlab.com> | 2019-07-29 05:04:18 +0300 |
---|---|---|
committer | Tiger <twatson@gitlab.com> | 2019-07-29 05:04:18 +0300 |
commit | ce0d74c26b6499062e5dd28f2000c18dfefabf92 (patch) | |
tree | ef9349c052d8ca1c7d5e82744bbf4ec06915efd2 /app/workers | |
parent | f52e9d55ded0e392bfea5d9bf963615766d5a1a3 (diff) |
Remove unused Clusters::RefreshService
Also removes all logic from ClusterConfigureWorker
and ClusterProjectConfigureWorker, which are also
no longer used.
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/cluster_configure_worker.rb | 6 | ||||
-rw-r--r-- | app/workers/cluster_project_configure_worker.rb | 4 |
2 files changed, 2 insertions, 8 deletions
diff --git a/app/workers/cluster_configure_worker.rb b/app/workers/cluster_configure_worker.rb index 6f64b7ea0ab..b0e551d4e03 100644 --- a/app/workers/cluster_configure_worker.rb +++ b/app/workers/cluster_configure_worker.rb @@ -5,10 +5,6 @@ class ClusterConfigureWorker include ClusterQueue def perform(cluster_id) - Clusters::Cluster.managed.find_by_id(cluster_id).try do |cluster| - if cluster.project_type? - Clusters::RefreshService.create_or_update_namespaces_for_cluster(cluster) - end - end + # Scheduled for removal in https://gitlab.com/gitlab-org/gitlab-ce/issues/59319 end end diff --git a/app/workers/cluster_project_configure_worker.rb b/app/workers/cluster_project_configure_worker.rb index 497e57c0d0b..8f48eca4d86 100644 --- a/app/workers/cluster_project_configure_worker.rb +++ b/app/workers/cluster_project_configure_worker.rb @@ -5,8 +5,6 @@ class ClusterProjectConfigureWorker include ClusterQueue def perform(project_id) - project = Project.find(project_id) - - ::Clusters::RefreshService.create_or_update_namespaces_for_project(project) + # Scheduled for removal in https://gitlab.com/gitlab-org/gitlab-ce/issues/59319 end end |