Move escapeLocationPathVar to escapeLiteralDollar

This commit is contained in:
Bryan Shelton 2018-10-09 12:58:50 -07:00
parent 3dc131bd57
commit 3686e4f366
3 changed files with 22 additions and 9 deletions

View file

@ -976,7 +976,7 @@ stream {
set $ingress_name "{{ $ing.Rule }}";
set $service_name "{{ $ing.Service }}";
set $service_port "{{ $location.Port }}";
set $location_path "{{ $location.Path | escapeLocationPathVar }}";
set $location_path "{{ $location.Path | escapeLiteralDollar }}";
{{ if $all.Cfg.EnableOpentracing }}
opentracing_propagate_context;