Skip to content

Commit

Permalink
Fix examples docs of parameters. (#1110)
Browse files Browse the repository at this point in the history
  • Loading branch information
locona authored and jessesuen committed Dec 7, 2018
1 parent ec20d94 commit e59398a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ spec:
entrypoint: A
arguments:
parameters:
- name: log_level
- name: log-level
value: INFO
templates:
Expand All @@ -176,15 +176,15 @@ spec:
image: containerA
env:
- name: LOG_LEVEL
value: "{{workflow.parameters.log_level}}"
value: "{{workflow.parameters.log-level}}"
command: [runA]
- - name: B
container:
image: containerB
env:
- name: LOG_LEVEL
value: "{{workflow.parameters.log_level}}"
command: [runB]
- name: B
container:
image: containerB
env:
- name: LOG_LEVEL
value: "{{workflow.parameters.log-level}}"
command: [runB]
```

In this workflow, both steps `A` and `B` would have the same log level set to `INFO` and can easily be changed between workflow submissions using the `-p` flag.
Expand Down

0 comments on commit e59398a

Please sign in to comment.