nginxinc/nginx-loadbalancer-kubernetes

Ensure Informer is not nil in initializeEventHandlers Method

ciroque opened this issue · 0 comments

In the Run method, there's a check for nil informer but no such check in initializeEventHandlers method which also accesses the informer. It would be prudent to add a nil check for the informer in the initializeEventHandlers method to avoid potential nil pointer dereference issues.