added another debug when the domains dont match

This commit is contained in:
2019-09-28 18:16:34 +02:00
parent 4165a14e6e
commit ebdd8aeb42

View File

@@ -127,6 +127,7 @@ func domainsChanged(certFilePath, keyFilePath string) bool {
// compare each entry
for i, d := range cert.DNSNames {
if d != c.Domains[i] {
log.Println("cert.DNSNames:", cert.DNSNames, "!=", "c.Domains:", c.Domains)
return true
}
}