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/metrics/dashboard/sync_dashboards_worker.rb')
-rw-r--r--app/workers/metrics/dashboard/sync_dashboards_worker.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/app/workers/metrics/dashboard/sync_dashboards_worker.rb b/app/workers/metrics/dashboard/sync_dashboards_worker.rb
index 63ca27d9c44..668542e51a5 100644
--- a/app/workers/metrics/dashboard/sync_dashboards_worker.rb
+++ b/app/workers/metrics/dashboard/sync_dashboards_worker.rb
@@ -13,14 +13,7 @@ module Metrics
idempotent!
- def perform(project_id)
- project = Project.find(project_id)
- dashboard_paths = ::Gitlab::Metrics::Dashboard::RepoDashboardFinder.list_dashboards(project)
-
- dashboard_paths.each do |dashboard_path|
- ::Gitlab::Metrics::Dashboard::Importer.new(dashboard_path, project).execute
- end
- end
+ def perform(project_id); end
end
end
end