We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c428e8 commit 0195bd3Copy full SHA for 0195bd3
1 file changed
influxdb/rootfs/config.toml.tpl
@@ -103,5 +103,5 @@ bind-address = {{ default ":8088" .BIND_ADDRESS | quote }}
103
protocol = {{ default "tcp" .GRAPHITE_PROTOCOL | quote }}
104
consistency-level = {{ default "one" .GRAPHITE_CONSISTENCY_LEVEL | quote }}
105
separator = {{ default "." .GRAPHITE_SEPERATOR | quote }}
106
- tags = [{{ default "" .GRAPHITE_TAGS | quote }}]
107
- templates = [{{ default "" .GRAPHITE_TEMPLATES | quote }}]
+ {{ if .GRAPHITE_TAGS }}tags = [{{ .GRAPHITE_TAGS | quote }}]{{end}}
+ {{ if .GRAPHITE_TEMPLATES }}templates = [{{ .GRAPHITE_TEMPLATES | quote }}]{{end}}
0 commit comments