Skip to content

Commit 71b66ba

Browse files
committed
fixup! feat(coderd): insert provisioner daemons
1 parent 3b4712f commit 71b66ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

enterprise/coderd/provisionerdaemons.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ func (api *API) provisionerDaemonServe(rw http.ResponseWriter, r *http.Request)
194194
api.Logger.Warn(ctx, "unauthorized provisioner daemon serve request", slog.F("tags", tags))
195195
httpapi.Write(ctx, rw, http.StatusForbidden,
196196
codersdk.Response{
197-
Message: fmt.Sprintf("You aren't allowed to create provisioner daemons with scope %q", tags[provisionersdk.TagScope])},
197+
Message: fmt.Sprintf("You aren't allowed to create provisioner daemons with scope %q", tags[provisionersdk.TagScope]),
198+
},
198199
)
199200
return
200201
}

0 commit comments

Comments
 (0)