mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-20 07:21:26 +02:00
v0.5.0-rc5: added proxy.exclude label, refactored some code
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user