fix: typo in error message (#6551)

* fix: typo in error message

* fix
This commit is contained in:
Marcin Tojek
2023-03-10 09:20:22 +00:00
committed by GitHub
parent 7f25d31745
commit 6023264a81
+1 -1
View File
@@ -492,7 +492,7 @@ func (api *API) postWorkspaceBuilds(rw http.ResponseWriter, r *http.Request) {
if buildParameter, found := findWorkspaceBuildParameter(createBuild.RichParameterValues, templateVersionParameter.Name); found {
if !templateVersionParameter.Mutable {
httpapi.Write(ctx, rw, http.StatusBadRequest, codersdk.Response{
Message: fmt.Sprintf("Parameter %q is mutable, so it can't be updated after creating workspace.", templateVersionParameter.Name),
Message: fmt.Sprintf("Parameter %q is not mutable, so it can't be updated after creating a workspace.", templateVersionParameter.Name),
})
return
}