Skip to content

Commit

Permalink
Add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Newton committed Dec 13, 2023
1 parent 45b326e commit 3e55c74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flytepropeller/pkg/controller/nodes/branch/evaluator.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ func DecideBranch(ctx context.Context, nl executors.NodeLookup, nodeID v1alpha1.
}
nStatus := nl.GetNodeExecutionStatus(ctx, n.GetID())
logger.Infof(ctx, "Branch Setting Node[%v] status to Skipped!", skippedNodeID)
// TODO: What is the impact of always setting clearStateOnAnyTermination=false here?
nStatus.UpdatePhase(v1alpha1.NodePhaseSkipped, v1.Now(), "Branch evaluated to false", false, nil)
}

Expand Down

0 comments on commit 3e55c74

Please sign in to comment.