Skip to content

Commit

Permalink
Signed-off-by: tooptoop4 <[email protected]>
Browse files Browse the repository at this point in the history
  • Loading branch information
tooptoop4 authored Oct 31, 2024
1 parent 777fbe3 commit efbf8a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ func FormulateRetryWorkflow(ctx context.Context, wf *wfv1.Workflow, restartSucce
return nil, nil, err
}

if (len(nodeFieldSelector) > 0 && len(nodeIDsToReset) == 0) {
if len(nodeFieldSelector) > 0 && len(nodeIDsToReset) == 0 {
return nil, nil, errors.Errorf(errors.CodeBadRequest, "nodeFieldSelector did not match against any nodes")
}

Expand Down

0 comments on commit efbf8a2

Please sign in to comment.