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:
authorsyasonik <syasonik@gitlab.com>2019-04-25 06:03:50 +0300
committersyasonik <syasonik@gitlab.com>2019-04-25 08:35:05 +0300
commit4a5c48c47cccd8ce2b6bd6912ecff925122778f0 (patch)
treed67a72b736ed069afd1c11fa14b4a789bc3d5b0c /app/controllers
parentdde709912f0c186d569ec5fb3d1986b8184d81f1 (diff)
Move MetricsDashboard to Metrics::Dashboard
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/environments_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/environments_controller.rb b/app/controllers/projects/environments_controller.rb
index 30cbe35edf5..1f619c8fd2f 100644
--- a/app/controllers/projects/environments_controller.rb
+++ b/app/controllers/projects/environments_controller.rb
@@ -160,7 +160,7 @@ class Projects::EnvironmentsController < Projects::ApplicationController
def metrics_dashboard
return render_403 unless Feature.enabled?(:environment_metrics_use_prometheus_endpoint, @project)
- result = Gitlab::MetricsDashboard::Service.new(@project, @current_user, environment: environment).get_dashboard
+ result = Gitlab::Metrics::Dashboard::Service.new(@project, @current_user, environment: environment).get_dashboard
respond_to do |format|
if result[:status] == :success