fix: typo in whitespace (#11667)

This commit is contained in:
Marcin Tojek
2024-01-17 13:36:15 +01:00
committed by GitHub
parent 5eb3e1cdaa
commit e83f13d8c5

View File

@ -87,7 +87,7 @@ func UserRealNameValid(str string) error {
}
if strings.TrimSpace(str) != str {
return xerrors.New("must not have leading or trailing white spaces")
return xerrors.New("must not have leading or trailing whitespace")
}
return nil
}