change: update name of method to check and normalize Domain name

This commit is contained in:
Adrien Raffin-Caboisse
2022-03-06 20:46:17 +01:00
parent dcf3ea567c
commit 1114449601
5 changed files with 14 additions and 14 deletions

View File

@@ -444,7 +444,7 @@ func expandGroup(
errInvalidGroup,
)
}
grp, err := NormalizeNamespaceName(group, stripEmailDomain)
grp, err := NormalizeName(group, stripEmailDomain)
if err != nil {
return []string{}, fmt.Errorf(
"failed to normalize group %q, err: %w",