Commit 765038c7 authored by Ryan Cobb's avatar Ryan Cobb

Fixes for rubocop

parent 62b52a46
...@@ -49,7 +49,7 @@ module EE ...@@ -49,7 +49,7 @@ module EE
) )
end end
end end
def metrics_dashboard def metrics_dashboard
project_for_dashboard = defined?(project) ? project : nil # Project is not defined for group and admin level clusters project_for_dashboard = defined?(project) ? project : nil # Project is not defined for group and admin level clusters
dashboard = ::Gitlab::Metrics::Dashboard::Finder.find(project_for_dashboard, current_user, metrics_dashboard_params) dashboard = ::Gitlab::Metrics::Dashboard::Finder.find(project_for_dashboard, current_user, metrics_dashboard_params)
......
...@@ -25,7 +25,7 @@ module EE ...@@ -25,7 +25,7 @@ module EE
.with_pagination(request, response) .with_pagination(request, response)
.represent(environments) .represent(environments)
end end
def metrics_dashboard_params def metrics_dashboard_params
{ {
cluster: cluster, cluster: cluster,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment