nginxinc/nginx-loadbalancer-kubernetes

Initialize Certificates Map to Avoid Nil Map Panic

Opened this issue · 0 comments

In the NewCertificates method, the Certificates field is initialized to nil, which could cause a panic when trying to insert key-value pairs into the map. It should be initialized to an empty map instead: Certificates: make(map[string]map[string][]byte).