mirror of https://github.com/coder/coder.git
fix: typo in whitespace (#11667)
This commit is contained in:
parent
5eb3e1cdaa
commit
e83f13d8c5
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue