Skip to content

Commit

Permalink
Fix regression where parallelism could cause workflow to fail (#1639)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarabala1979 authored and jessesuen committed Oct 4, 2019
1 parent 76461f9 commit cbf9968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/controller/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ func (woc *wfOperationCtx) executeTemplate(nodeName string, orgTmpl wfv1.Templat

// Check if we exceeded template or workflow parallelism and immediately return if we did
if err := woc.checkParallelism(processedTmpl, node, boundaryID); err != nil {
return woc.initializeNodeOrMarkError(node, nodeName, wfv1.NodeTypeSkipped, orgTmpl, boundaryID, err), err
return node, err
}

// If the user has specified retries, node becomes a special retry node.
Expand Down

0 comments on commit cbf9968

Please sign in to comment.