mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: publish workspace update on quota failure (#11559)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user