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 'lib/gitlab/prometheus/adapter.rb')
-rw-r--r--lib/gitlab/prometheus/adapter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/prometheus/adapter.rb b/lib/gitlab/prometheus/adapter.rb
index a977040ef6f..2c44e2cea4c 100644
--- a/lib/gitlab/prometheus/adapter.rb
+++ b/lib/gitlab/prometheus/adapter.rb
@@ -26,7 +26,7 @@ module Gitlab
private
def service_prometheus_adapter
- project.find_or_initialize_service('prometheus')
+ project.find_or_initialize_integration('prometheus')
end
end
end