Skip to content

Commit e83f13d

Browse files
authored
fix: typo in whitespace (#11667)
1 parent 5eb3e1c commit e83f13d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/httpapi/name.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func UserRealNameValid(str string) error {
8787
}
8888

8989
if strings.TrimSpace(str) != str {
90-
return xerrors.New("must not have leading or trailing white spaces")
90+
return xerrors.New("must not have leading or trailing whitespace")
9191
}
9292
return nil
9393
}

0 commit comments

Comments
 (0)