Merge pull request #4658 from turchanov/fix-stream_log_format

Need to quote expansion of `$cfg.LogFormatStream` in `log_stream` access log
This commit is contained in:
Kubernetes Prow Robot 2019-10-12 15:10:36 -07:00 committed by GitHub
commit 8537d7e047
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -642,7 +642,7 @@ stream {
lua_add_variable $proxy_upstream_name;
log_format log_stream {{ $cfg.LogFormatStream }};
log_format log_stream '{{ $cfg.LogFormatStream }}';
{{ if $cfg.DisableAccessLog }}
access_log off;