diff --git a/pkg/haproxy/certs/main.go b/pkg/haproxy/certs/main.go index bb0308ac..71eb39f2 100644 --- a/pkg/haproxy/certs/main.go +++ b/pkg/haproxy/certs/main.go @@ -197,7 +197,7 @@ func refreshCerts(certs map[string]*cert, certDir string) { if !crtOk || !crt.inUse { logger.Error(os.Remove(path.Join(certDir, filename))) delete(certs, certName) - instance.Reload("secret %s removed", crt.name) + instance.Reload("secret %s removed", certName) } } }