Skip to content

Commit cc30d42

Browse files
authored
chore: Fix some 'Message' linting errors on main (#2129)
1 parent af401e3 commit cc30d42

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

coderd/workspacebuilds.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func (api *API) workspaceBuild(rw http.ResponseWriter, r *http.Request) {
4040
owner, err := api.Database.GetUserByID(r.Context(), workspace.OwnerID)
4141
if err != nil {
4242
httpapi.Write(rw, http.StatusInternalServerError, httpapi.Response{
43-
Message: "Internal error fetching user",
43+
Message: "Internal error fetching user.",
4444
Detail: err.Error(),
4545
})
4646
return
@@ -131,7 +131,7 @@ func (api *API) workspaceBuilds(rw http.ResponseWriter, r *http.Request) {
131131
owner, err := api.Database.GetUserByID(r.Context(), workspace.OwnerID)
132132
if err != nil {
133133
httpapi.Write(rw, http.StatusInternalServerError, httpapi.Response{
134-
Message: "Internal error fetching user",
134+
Message: "Internal error fetching user.",
135135
Detail: err.Error(),
136136
})
137137
return
@@ -188,7 +188,7 @@ func (api *API) workspaceBuildByName(rw http.ResponseWriter, r *http.Request) {
188188
owner, err := api.Database.GetUserByID(r.Context(), workspace.OwnerID)
189189
if err != nil {
190190
httpapi.Write(rw, http.StatusInternalServerError, httpapi.Response{
191-
Message: "Internal error getting user",
191+
Message: "Internal error getting user.",
192192
Detail: err.Error(),
193193
})
194194
return
@@ -371,7 +371,7 @@ func (api *API) postWorkspaceBuilds(rw http.ResponseWriter, r *http.Request) {
371371
owner, err := api.Database.GetUserByID(r.Context(), workspace.OwnerID)
372372
if err != nil {
373373
httpapi.Write(rw, http.StatusInternalServerError, httpapi.Response{
374-
Message: "Internal error getting user",
374+
Message: "Internal error getting user.",
375375
Detail: err.Error(),
376376
})
377377
return

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy