Skip to content

Commit aaa0628

Browse files
coredns-local: fix variable scope
Follow up on #6808 See also #4923 Signed-off-by: Alexander Yastrebov <[email protected]>
1 parent 8b0baf7 commit aaa0628

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)