Skip to content

Commit

Permalink
Issue argoproj#1190 - Fix incorrect retry node handling (argoproj#1208)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmt authored and xianlu committed Feb 20, 2019
1 parent 221a0ca commit 7c1f232
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 7c1f232

Please sign in to comment.