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:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-11-13 09:06:38 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-11-13 09:06:38 +0300
commit213ce7805856f2cc1d019a03c76ae0d098337c26 (patch)
treee97e9e02515dd83a2a5decd66ae8553ebb93b350 /app/helpers/clusters_helper.rb
parentd41c040fa25a8b4092843b84bf7d839591b6ee09 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/clusters_helper.rb')
-rw-r--r--app/helpers/clusters_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/clusters_helper.rb b/app/helpers/clusters_helper.rb
index 0cfb45a12e5..0037c49f134 100644
--- a/app/helpers/clusters_helper.rb
+++ b/app/helpers/clusters_helper.rb
@@ -40,7 +40,7 @@ module ClustersHelper
def has_rbac_enabled?(cluster)
return cluster.platform_kubernetes_rbac? if cluster.platform_kubernetes
- !cluster.provider.legacy_abac?
+ cluster.provider.has_rbac_enabled?
end
end