Skip to content

Commit 56bf3a4

Browse files
authored
Fix documentation of environment variable defaults (grafana#6536)
For some reason, the `-` character was missing here in the documentation. After struggling for some time, I finally figured out that -- quite obviously -- envsubst default behavior applies and thus the documentation was wrong. :-)
1 parent bf3bca3 commit 56bf3a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/sources/clients/promtail/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ References to undefined variables are replaced by empty strings unless you speci
5555
To specify a default value, use:
5656

5757
```
58-
${VAR:default_value}
58+
${VAR:-default_value}
5959
```
6060

6161
Where default_value is the value to use if the environment variable is undefined.

0 commit comments

Comments
 (0)