Skip to content

Commit

Permalink
Merge pull request kubernetes-retired#541 from jjmengze/patch-1
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
k8s-ci-robot authored Mar 24, 2020
2 parents 2ca7a6e + 07a729b commit ca59e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion incubator/hnc/pkg/validators/hierarchy.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ func isHNCServiceAccount(user *authnv1.UserInfo) bool {
func checkConfig(hc *api.HierarchyConfiguration) admission.Response {

// Check if children names in requiredChildren field obey kubernetes namespace regex format.
// invalidRCs accomodates illegal required child(RC) name(s).
// invalidRCs accommodates illegal required child(RC) name(s).
invalidRCs := []string{}
for _, rc := range hc.Spec.RequiredChildren {
if resp := validateNamespace(rc); resp != nil {
Expand Down

0 comments on commit ca59e4a

Please sign in to comment.