Skip to content

Commit eda67e4

Browse files
authored
Fix yaml configuration-envs-interpolation examples (ets-labs#494)
the interpolation of the environment variables in yaml is wrong, I have changed the example from {$ ENV_VAR} to $ {ENV_VAR}
1 parent ea9aa23 commit eda67e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/providers/configuration.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ where ``examples/providers/configuration/config.yml`` is:
7777
.. code-block:: ini
7878
7979
section:
80-
option1: {$ENV_VAR}
81-
option2: {$ENV_VAR}/path
82-
option3: {$ENV_VAR:default}
80+
option1: ${ENV_VAR}
81+
option2: ${ENV_VAR}/path
82+
option3: ${ENV_VAR:default}
8383
8484
See also: :ref:`configuration-envs-interpolation`.
8585

0 commit comments

Comments
 (0)