Skip to content

Commit

Permalink
fix(MeshTimeout): NPE with MeshGateway (#8933)
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Beaumont <[email protected]>
  • Loading branch information
michaelbeaumont authored Jan 19, 2024
1 parent 0975706 commit dd29be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/plugins/policies/meshtimeout/plugin/xds/configurer.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func ConfigureGatewayListener(
protocol mesh_proto.MeshGateway_Listener_Protocol,
listener *envoy_listener.Listener,
) error {
if listener == nil {
if listener == nil || conf == nil {
return nil
}

Expand Down

0 comments on commit dd29be8

Please sign in to comment.