Unverified Commit b938d495 authored by AdamDang's avatar AdamDang Committed by GitHub

Typo fix in returned message: ClusteRole->ClusterRole

ClusteRole->ClusterRole
parent 39e341c1
...@@ -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