change: update name of method to check and normalize Domain name
This commit is contained in:
parent
dcf3ea567c
commit
1114449601
5 changed files with 14 additions and 14 deletions
2
acls.go
2
acls.go
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue