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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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
}