BuildLogFormatUpstream function was always using the default log-format-upstream,
This commit is contained in:
parent
0b48d3b24d
commit
1e5081baf2
3 changed files with 16 additions and 6 deletions
|
|
@ -235,7 +235,7 @@ func buildLogFormatUpstream(input interface{}) string {
|
|||
glog.Errorf("error an ingress.buildLogFormatUpstream type but %T was returned", input)
|
||||
}
|
||||
|
||||
return nginxconfig.BuildLogFormatUpstream(config.UseProxyProtocol)
|
||||
return nginxconfig.BuildLogFormatUpstream(config.UseProxyProtocol, config.LogFormatUpstream)
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue