Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
returning 'Undefined' when recovering a SKIPPED node so that the node…
Browse files Browse the repository at this point in the history
… is executed

Signed-off-by: Daniel Rammer <[email protected]>
  • Loading branch information
hamersaw committed Apr 7, 2023
1 parent 986f014 commit f1ca4b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/nodes/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func (c *nodeExecutor) attemptRecovery(ctx context.Context, nCtx handler.NodeExe
// A recoverable node execution should always be in a terminal phase
switch recovered.Closure.Phase {
case core.NodeExecution_SKIPPED:
return handler.PhaseInfoSkip(nil, "node execution recovery indicated original node was skipped"), nil
return handler.PhaseInfoUndefined, nil
case core.NodeExecution_SUCCEEDED:
fallthrough
case core.NodeExecution_RECOVERED:
Expand Down

0 comments on commit f1ca4b6

Please sign in to comment.