Skip to content

Commit 618f727

Browse files
Update certificates/certificates.go
Co-authored-by: Alby <[email protected]>
1 parent 8aa164d commit 618f727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: certificates/certificates.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ func DeleteCertificates(certDir *paths.Path) {
270270
certDir.Join("cert.cer").Remove()
271271
}
272272

273-
// isExpired checks if a certificate is expired
273+
// isExpired checks if a certificate is expired or about to expire (less than 1 month)
274274
func isExpired() (bool, error) {
275275
bound := time.Now().AddDate(0, 1, 0)
276276
dateS, err := GetExpirationDate()

0 commit comments

Comments
 (0)