Skip to content

Sync `groups` and `group` to fix EE validation

Thong Kuah requested to merge 34758-unique-environment-scope into master

What does this MR do?

Change Clusters::Cluster#group so that EE validation will work in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/8124

We populate clusters via the groups association. But we validate via cluster.group in EE. Fix so that cluster.group uses groups association. See https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/8124#note_113063308

What are the relevant issue numbers?

#34758 (closed)

Does this MR meet the acceptance criteria?

Edited by 🤖 GitLab Bot 🤖

Merge request reports