Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix status code
  • Loading branch information
f0ssel committed Jul 25, 2024
commit e0fac572b576a4d1f3f674e75b6d113fce82fcf1
2 changes: 1 addition & 1 deletion coderd/httpmw/provisionerdaemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func ExtractProvisionerDaemonAuthenticated(opts ExtractProvisionerAuthConfig) fu

err := provisionerkey.Validate(key)
if err != nil {
handleOptional(http.StatusBadGateway, codersdk.Response{
handleOptional(http.StatusBadRequest, codersdk.Response{
Message: "provisioner daemon key invalid",
Detail: err.Error(),
})
Expand Down
Loading