diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-23 21:08:14 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-23 21:08:14 +0300 |
commit | 5e555ebcf6ee2ce13e9956ae599fd811a79b4dbd (patch) | |
tree | 6dd67e2f8f49b54e0fb1f266d1720f461393df59 /app/models/namespace.rb | |
parent | 3e53902ee13fc4e0bf3162c0c392dcfe1a0ede4b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/namespace.rb')
-rw-r--r-- | app/models/namespace.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/namespace.rb b/app/models/namespace.rb index 47b652431d3..9c3e337c0c2 100644 --- a/app/models/namespace.rb +++ b/app/models/namespace.rb @@ -553,7 +553,7 @@ class Namespace < ApplicationRecord private def cluster_enabled_granted? - root_ancestor.cluster_enabled_grant.present? && (Gitlab.com? || Gitlab.dev_or_test_env?) + (Gitlab.com? || Gitlab.dev_or_test_env?) && root_ancestor.cluster_enabled_grant.present? end def certificate_based_clusters_enabled_ff? |