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/workers/clusters/integrations/check_prometheus_health_worker.rb')
-rw-r--r--app/workers/clusters/integrations/check_prometheus_health_worker.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/app/workers/clusters/integrations/check_prometheus_health_worker.rb b/app/workers/clusters/integrations/check_prometheus_health_worker.rb
index 0c0d86e975c..b65b3424c3a 100644
--- a/app/workers/clusters/integrations/check_prometheus_health_worker.rb
+++ b/app/workers/clusters/integrations/check_prometheus_health_worker.rb
@@ -18,15 +18,7 @@ module Clusters
idempotent!
worker_has_external_dependencies!
- def perform
- demo_project_ids = Gitlab::Monitor::DemoProjects.primary_keys
-
- clusters = Clusters::Cluster.with_integration_prometheus
- .with_project_http_integrations(demo_project_ids)
-
- # Move to a seperate worker with scoped context if expanded to do work on customer projects
- clusters.each { |cluster| Clusters::Integrations::PrometheusHealthCheckService.new(cluster).execute }
- end
+ def perform; end
end
end
end