mirror of https://github.com/coder/coder.git
fix: publish workspace update on quota failure (#11559)
This commit is contained in:
parent
05eac64be4
commit
5b122d108e
|
@ -889,7 +889,7 @@ func (r *Runner) commitQuota(ctx context.Context, resources []*sdkproto.Resource
|
|||
Output: "This build would exceed your quota. Failing.",
|
||||
Stage: stage,
|
||||
})
|
||||
return r.failedJobf("insufficient quota")
|
||||
return r.failedWorkspaceBuildf("insufficient quota")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue