Skip to content

Commit be5d4d8

Browse files
Merge pull request #9607 from circleci/DOCSS-1633-incorrect-example
update text to match example
2 parents a8b37be + 4a57279 commit be5d4d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guides/modules/orchestrate/pages/pipeline-variables.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,10 @@ workflows:
174174
my-workflow:
175175
jobs:
176176
- daily-message:
177-
message: echo << parameters.message >>
177+
message: << parameters.message >>
178178
```
179179

180-
Even though the `print` command is called from the `cat-file` job, the file parameter would not be in scope inside the print job. This ensures that all parameters are always bound to a valid value, and the set of available parameters is always known. Running this would throw a pipeline error of `Arguments referenced without declared parameters: message`.
180+
Even though the `print` command is called from the `daily-message` job, the `message` parameter would not be in scope inside `my-workflow`. This ensures that all parameters are always bound to a valid value, and the set of available parameters is always known. Running this would throw a pipeline error of `Arguments referenced without declared parameters: parameters.message`.
181181

182182
[#pipeline-value-scope]
183183
=== Pipeline value scope

0 commit comments

Comments
 (0)