mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
fix: typo in whitespace (#11667)
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user