We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19e2875 commit 4ddf509Copy full SHA for 4ddf509
services/actions/job_emitter.go
@@ -273,11 +273,8 @@ func (r *jobStatusResolver) resolve(ctx context.Context) map[int64]actions_model
273
274
if blockedByJobConcurrency {
275
continue
276
- }
277
-
278
- if err := CancelJobsByJobConcurrency(ctx, r.jobMap[id]); err != nil {
279
- log.Error("Cancel previous jobs for job %d: %v. This job will stay blocked.", id, err)
280
- continue
+ } else if err := CancelJobsByJobConcurrency(ctx, r.jobMap[id]); err != nil {
+ log.Error("Cancel previous jobs for job %d: %v", id, err)
281
}
282
283
if allSucceed {
0 commit comments