Skip to content

Commit

Permalink
Issue #1190 - Fix incorrect retry node handling (#1208)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmt authored Feb 13, 2019
1 parent f1797f7 commit 8aae293
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions workflow/controller/dag.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ func (d *dagContext) assessDAGPhase(targetTasks []string, nodes map[string]wfv1.
}

func hasMoreRetries(node *wfv1.NodeStatus, wf *wfv1.Workflow) bool {
if node.Phase == wfv1.NodeSucceeded {
return false
}

if len(node.Children) == 0 {
return true
}
Expand Down

0 comments on commit 8aae293

Please sign in to comment.