summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyasonik <syasonik@gitlab.com>2019-04-22 15:50:43 +0800
committersyasonik <syasonik@gitlab.com>2019-04-24 18:23:04 +0800
commitdde709912f0c186d569ec5fb3d1986b8184d81f1 (patch)
treed3df888dd9c2cde1b4ba153bdff8046f7cf0f574
parent9fedbea78e9d28809b2e68d4effab00cf14573f9 (diff)
downloadgitlab-ce-dde709912f0c186d569ec5fb3d1986b8184d81f1.tar.gz
Rubocop
-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|