diff options
author | syasonik <syasonik@gitlab.com> | 2019-04-22 10:50:43 +0300 |
---|---|---|
committer | syasonik <syasonik@gitlab.com> | 2019-04-24 13:23:04 +0300 |
commit | dde709912f0c186d569ec5fb3d1986b8184d81f1 (patch) | |
tree | d3df888dd9c2cde1b4ba153bdff8046f7cf0f574 /app/controllers | |
parent | 9fedbea78e9d28809b2e68d4effab00cf14573f9 (diff) |
Rubocop
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/environments_controller.rb | 1 |
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| |