Skip to content

Commit 5b122d1

Browse files
authored
fix: publish workspace update on quota failure (#11559)
1 parent 05eac64 commit 5b122d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

provisionerd/runner/runner.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ func (r *Runner) commitQuota(ctx context.Context, resources []*sdkproto.Resource
889889
Output: "This build would exceed your quota. Failing.",
890890
Stage: stage,
891891
})
892-
return r.failedJobf("insufficient quota")
892+
return r.failedWorkspaceBuildf("insufficient quota")
893893
}
894894
return nil
895895
}

0 commit comments

Comments
 (0)