Skip to content

Commit

Permalink
OSSM-6261: Fix nil pointer dereference in istiod's client.Shutdown() (
Browse files Browse the repository at this point in the history
  • Loading branch information
eoinfennessy authored Apr 5, 2024
1 parent 4c5ddc8 commit d8f16bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/kube/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,9 @@ func (c *client) Shutdown() {
// c.dynamicInformer.Shutdown()
// c.metadataInformer.Shutdown()
c.istioInformer.Shutdown()
c.gatewayapiInformer.Shutdown()
if features.EnableGatewayAPI {
c.gatewayapiInformer.Shutdown()
}
c.extInformer.Shutdown()
}

Expand Down

0 comments on commit d8f16bb

Please sign in to comment.