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-22 10:50:43 +0300
committersyasonik <syasonik@gitlab.com>2019-04-24 13:23:04 +0300
commitdde709912f0c186d569ec5fb3d1986b8184d81f1 (patch)
treed3df888dd9c2cde1b4ba153bdff8046f7cf0f574 /app/controllers
parent9fedbea78e9d28809b2e68d4effab00cf14573f9 (diff)
Rubocop
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/environments_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/projects/environments_controller.rb b/app/controllers/projects/environments_controller.rb
index 04f9782b158..30cbe35edf5 100644
--- a/app/controllers/projects/environments_controller.rb
+++ b/app/controllers/projects/environments_controller.rb
@@ -159,6 +159,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
respond_to do |format|