v0.5.0-rc5: added proxy.exclude label, refactored some code

This commit is contained in:
yusing
2024-09-17 17:56:41 +08:00
parent 83d1d027c6
commit be7a766cb2
8 changed files with 31 additions and 24 deletions

View File

@@ -114,7 +114,7 @@ func (p *Provider) LoadCert() E.NestedError {
p.tlsCert = &cert
p.certExpiries = expiries
logger.Infof("next renewal in %v", time.Until(p.ShouldRenewOn()))
logger.Infof("next renewal in %v", U.FormatDuration(time.Until(p.ShouldRenewOn())))
return p.renewIfNeeded()
}