Skip to content

Commit 0195bd3

Browse files
committed
empty array's are considered invalid
1 parent 7c428e8 commit 0195bd3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

influxdb/rootfs/config.toml.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,5 @@ bind-address = {{ default ":8088" .BIND_ADDRESS | quote }}
103103
protocol = {{ default "tcp" .GRAPHITE_PROTOCOL | quote }}
104104
consistency-level = {{ default "one" .GRAPHITE_CONSISTENCY_LEVEL | quote }}
105105
separator = {{ default "." .GRAPHITE_SEPERATOR | quote }}
106-
tags = [{{ default "" .GRAPHITE_TAGS | quote }}]
107-
templates = [{{ default "" .GRAPHITE_TEMPLATES | quote }}]
106+
{{ if .GRAPHITE_TAGS }}tags = [{{ .GRAPHITE_TAGS | quote }}]{{end}}
107+
{{ if .GRAPHITE_TEMPLATES }}templates = [{{ .GRAPHITE_TEMPLATES | quote }}]{{end}}

0 commit comments

Comments
 (0)