Skip to content

Commit

Permalink
Clarify stage IDs in comment examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredoconnell committed Apr 16, 2024
1 parent e0555d8 commit 3dd60af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflow/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,10 @@ func applyLifecycleScopes(
for _, stage := range stepLifecycle.Stages {
prefix := "$.steps." + workflowStepID + "." + stage.ID + "."
// Apply inputs
// Example: $.steps.wait_step.starting.inputs.
// Example with stage starting: $.steps.wait_step.starting.inputs.
addInputNamespacedScopes(allNamespaces, stage, prefix+"inputs.")
// Apply outputs
// Example: $.steps.wait_step.outputs.outputs.success
// Example with stage outputs: $.steps.wait_step.outputs.outputs.success
addOutputNamespacedScopes(allNamespaces, stage, prefix+"outputs.")
}
}
Expand Down

0 comments on commit 3dd60af

Please sign in to comment.