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:
Diffstat (limited to 'app/controllers/groups/clusters_controller.rb')
-rw-r--r--app/controllers/groups/clusters_controller.rb10
1 files changed, 8 insertions, 2 deletions
diff --git a/app/controllers/groups/clusters_controller.rb b/app/controllers/groups/clusters_controller.rb
index 2165dee45fb..33bfc24885f 100644
--- a/app/controllers/groups/clusters_controller.rb
+++ b/app/controllers/groups/clusters_controller.rb
@@ -17,6 +17,12 @@ class Groups::ClustersController < Clusters::ClustersController
def group
@group ||= find_routable!(Group, params[:group_id] || params[:id])
end
-end
-Groups::ClustersController.prepend_if_ee('EE::Groups::ClustersController')
+ def metrics_dashboard_params
+ {
+ cluster: cluster,
+ cluster_type: :group,
+ group: group
+ }
+ end
+end