Skip to content

Commit

Permalink
fix: removed unneeded assignment
Browse files Browse the repository at this point in the history
Signed-off-by: Isitha Subasinghe <isubasinghe@student.unimelb.edu.au>
  • Loading branch information
isubasinghe committed Apr 29, 2024
1 parent 969cc95 commit b943ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/controller/dag.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func (d *dagContext) assessDAGPhase(targetTasks []string, nodes wfv1.Nodes, isSh
}

for _, depName := range targetTasks {
branchPhase, _ := targetTaskPhases[d.taskNodeID(depName)]
branchPhase := targetTaskPhases[d.taskNodeID(depName)]
if branchPhase == wfv1.NodeOmitted {
result = wfv1.NodeSucceeded
// If failFast is disabled, we will want to let all tasks complete before checking for failures
Expand Down

0 comments on commit b943ac1

Please sign in to comment.