Skip to content

Commit 9830a12

Browse files
authored
fix: correct config example for creating new array item by env var (#2105)
Fix config example for creating new array item by env var
1 parent 362776d commit 9830a12

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/ecosystem/configuring.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ As you can see, subkeys are separated with an underscore `_`. If a subkey is an
122122
the array index (`0`, `1`). It is also possible to define a new array by using an array index that isn't yet set:
123123

124124
```shell
125-
export SOME_NESTED_KEY_AND_ARRAY_2_BAR=baz
125+
export SOME_NESTED_KEY_AND_ARRAY_2_ID=baz
126126
```
127127

128128
The above would result in:
@@ -133,7 +133,8 @@ some:
133133
with_a_value: foo
134134
and_array:
135135
- id: foo
136-
- bar: bar
136+
- id: bar
137+
- id: baz
137138
```
138139
139140
It's also possible to use JSON strings to denote complex configuration keys:

0 commit comments

Comments
 (0)