Update comment to reflect the code (#1087)
This commit is contained in:
parent
2b00cdf330
commit
02473328e7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue