fix: publish workspace update on quota failure (#11559)

This commit is contained in:
Garrett Delfosse
2024-01-11 14:59:40 -05:00
committed by GitHub
parent 05eac64be4
commit 5b122d108e
+1 -1
View File
@@ -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
}