mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08: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