Skip to content

Commit 2e7964b

Browse files
Update internal/mode/static/state/dataplane/configuration.go
Co-authored-by: Kate Osborn <[email protected]>
1 parent c454916 commit 2e7964b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/mode/static/state/dataplane/configuration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ func buildBaseHTTPConfig(g *graph.Graph) BaseHTTPConfig {
864864

865865
if len(g.NginxProxy.Source.Spec.RewriteClientIP.TrustedAddresses) > 0 {
866866
trustedAddresses := convertTrustedAddresses(g)
867-
baseConfig.RewriteClientIPSettings.TrustedAddresses = trustedAddresses
867+
baseConfig.RewriteClientIPSettings.TrustedAddresses = convertTrustedAddresses(g)
868868
}
869869

870870
if g.NginxProxy.Source.Spec.RewriteClientIP.SetIPRecursively != nil {

0 commit comments

Comments
 (0)