From 07a729bc8d4c0eda31ecfd843db28bf560eca593 Mon Sep 17 00:00:00 2001 From: MengZeLee Date: Tue, 24 Mar 2020 15:34:10 +0800 Subject: [PATCH] fix typo fix typo --- incubator/hnc/pkg/validators/hierarchy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/incubator/hnc/pkg/validators/hierarchy.go b/incubator/hnc/pkg/validators/hierarchy.go index b1f166448..e1c3db948 100644 --- a/incubator/hnc/pkg/validators/hierarchy.go +++ b/incubator/hnc/pkg/validators/hierarchy.go @@ -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 {