Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
jjmengze authored Mar 24, 2020
1 parent 2ca7a6e commit 07a729b
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 07a729b

Please sign in to comment.