mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +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 {
|
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
|
return nil
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user