From 02473328e76b71288d2537413ce29b7ed8cfc0f4 Mon Sep 17 00:00:00 2001 From: Nicolas Pouillard Date: Tue, 31 Jan 2017 15:28:40 +0100 Subject: [PATCH] Update comment to reflect the code (#1087) --- acme/account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acme/account.go b/acme/account.go index d459142d5..00011b6b5 100644 --- a/acme/account.go +++ b/acme/account.go @@ -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 }