We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2680e2 commit f304ecaCopy full SHA for f304eca
internal/xds/translator/proxy_protocol.go
@@ -46,7 +46,7 @@ func buildProxyProtocolFilter(proxyProtocolSettings *ir.ProxyProtocolSettings) *
46
pp := &proxyprotocolv3.ProxyProtocol{}
47
48
// Configure allow_requests_without_proxy_protocol if ProxyProtocolSettings are provided
49
- if proxyProtocolSettings.Optional == true {
+ if proxyProtocolSettings.Optional {
50
pp.AllowRequestsWithoutProxyProtocol = proxyProtocolSettings.Optional
51
}
52
0 commit comments