Skip to content

Commit

Permalink
fix(api): manage matrix with 0 permutation (#7215)
Browse files Browse the repository at this point in the history
  • Loading branch information
sguiheux authored Nov 15, 2024
1 parent 7d67c7a commit fafc78f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion engine/api/v2_workflow_run_engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -1221,7 +1221,8 @@ func retrieveJobToQueue(ctx context.Context, db *gorp.DbMap, wrEnqueue sdk.V2Wor
runPermutations++
}
}
if nbPermutations != runPermutations {
// If there is still permutation to run
if nbPermutations > runPermutations {
jobsToCheck[jobID] = jobDef
}
}
Expand Down

0 comments on commit fafc78f

Please sign in to comment.