diff --git a/flytepropeller/pkg/controller/nodes/array/handler.go b/flytepropeller/pkg/controller/nodes/array/handler.go index 3e1b77a964..26086f6994 100644 --- a/flytepropeller/pkg/controller/nodes/array/handler.go +++ b/flytepropeller/pkg/controller/nodes/array/handler.go @@ -711,7 +711,7 @@ func (a *arrayNodeHandler) buildArrayNodeContext(ctx context.Context, nCtx inter if err != nil { return nil, nil, nil, nil, nil, nil, err } - // set new parent info and re-initialize the control flow to not inherit the parent's state + // set new parent info and re-initialize the sub-node's control flow to not share/update the parent's state arrayExecutionContext := newArrayExecutionContext( executors.NewExecutionContext(nCtx.ExecutionContext(), nCtx.ExecutionContext(), nCtx.ExecutionContext(), newParentInfo, executors.InitializeControlFlow()), subNodeIndex)