Skip to content

Commit

Permalink
Update operator.go
Browse files Browse the repository at this point in the history
  • Loading branch information
tooptoop4 authored Jun 14, 2024
1 parent def51d3 commit 203e9bf
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 @@ -1860,7 +1860,7 @@ func buildRetryStrategyLocalScope(node *wfv1.NodeStatus, nodes wfv1.Nodes) map[s
exitCode := "-1"
if lastChildNode.Outputs != nil && lastChildNode.Outputs.ExitCode != nil {
exitCode = *lastChildNode.Outputs.ExitCode
} else if lastChildNode.Message != nil {
} else {
tmpexitCode, err := extractExitCode(lastChildNode.Message)
if err == nil {
exitCode = tmpexitCode
Expand Down

0 comments on commit 203e9bf

Please sign in to comment.