From e83f13d8c5bcc7c0303d08f28956c6d3bb1bd964 Mon Sep 17 00:00:00 2001 From: Marcin Tojek Date: Wed, 17 Jan 2024 13:36:15 +0100 Subject: [PATCH] fix: typo in whitespace (#11667) --- coderd/httpapi/name.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coderd/httpapi/name.go b/coderd/httpapi/name.go index 85dbaa12e8..0083927c85 100644 --- a/coderd/httpapi/name.go +++ b/coderd/httpapi/name.go @@ -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 }