mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 01:26:51 +03:00
Fix yaml configuration-envs-interpolation examples (#494)
the interpolation of the environment variables in yaml is wrong, I have changed the example from {$ ENV_VAR} to $ {ENV_VAR}
This commit is contained in:
parent
ea9aa2370e
commit
eda67e42d0
|
@ -77,9 +77,9 @@ where ``examples/providers/configuration/config.yml`` is:
|
||||||
.. code-block:: ini
|
.. code-block:: ini
|
||||||
|
|
||||||
section:
|
section:
|
||||||
option1: {$ENV_VAR}
|
option1: ${ENV_VAR}
|
||||||
option2: {$ENV_VAR}/path
|
option2: ${ENV_VAR}/path
|
||||||
option3: {$ENV_VAR:default}
|
option3: ${ENV_VAR:default}
|
||||||
|
|
||||||
See also: :ref:`configuration-envs-interpolation`.
|
See also: :ref:`configuration-envs-interpolation`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user