Skip to content

Commit 2481ef7

Browse files
Merge pull request #6818 from zalando-incubator/coredns-local/fix-scope
coredns-local: fix variable scope
2 parents 8b0baf7 + aaa0628 commit 2481ef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster/manifests/coredns-local/configmap-local.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ data:
8989
errors
9090
{{ if eq .Cluster.ConfigItems.tracing_coredns_route_traces_to_local_zone "true"}}
9191
{{- with $cluster := .Cluster }}
92-
{{ range $src := split .Cluster.ConfigItems.tracing_coredns_global_traces_endpoint "," }}
92+
{{ range $src := split $cluster.ConfigItems.tracing_coredns_global_traces_endpoint "," }}
9393
rewrite name exact {{ $src }} {{ $cluster.ConfigItems.tracing_coredns_local_zone_traces_endpoint }}
9494
{{ end }}
9595
{{- end }}

0 commit comments

Comments
 (0)