Unverified Commit 76d1418d authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #67593 from AdamDang/patch-13

Automatic merge from submit-queue (batch tested with PRs 67593, 67544). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Typo fix in returned message: ClusteRole->ClusterRole There is a typo in returned message: Line 143: ClusteRole->ClusterRole
parents 4c5e6156 b938d495
...@@ -140,7 +140,7 @@ func IsRBACEnabled(f *Framework) bool { ...@@ -140,7 +140,7 @@ func IsRBACEnabled(f *Framework) bool {
Logf("Error listing ClusterRoles; assuming RBAC is disabled: %v", err) Logf("Error listing ClusterRoles; assuming RBAC is disabled: %v", err)
isRBACEnabled = false isRBACEnabled = false
} else if crs == nil || len(crs.Items) == 0 { } else if crs == nil || len(crs.Items) == 0 {
Logf("No ClusteRoles found; assuming RBAC is disabled.") Logf("No ClusterRoles found; assuming RBAC is disabled.")
isRBACEnabled = false isRBACEnabled = false
} else { } else {
Logf("Found ClusterRoles; assuming RBAC is enabled.") Logf("Found ClusterRoles; assuming RBAC is enabled.")
......
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