Update comment to reflect the code (#1087)

This commit is contained in:
Nicolas Pouillard 2017-01-31 15:28:40 +01:00 committed by Vincent Demeester
parent 2b00cdf330
commit 02473328e7

View file

@ -193,7 +193,7 @@ func (dc *DomainsCertificate) needRenew() bool {
// If there's an error, we assume the cert is broken, and needs update
return true
}
// <= 7 days left, renew certificate
// <= 30 days left, renew certificate
if crt.NotAfter.Before(time.Now().Add(time.Duration(24 * 30 * time.Hour))) {
return true
}