autocert: remove log (#2584) (#2750)

Co-authored-by: Caleb Doxsey <cdoxsey@pomerium.com>
This commit is contained in:
backport-actions-token[bot] 2021-11-05 16:52:30 -04:00 committed by GitHub
parent 652d3eadc4
commit 17bc3a86a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -166,7 +166,7 @@ func (mgr *Manager) renewConfigCerts(ctx context.Context) error {
for _, domain := range sourceHostnames(cfg) { for _, domain := range sourceHostnames(cfg) {
cert, err := cm.CacheManagedCertificate(domain) cert, err := cm.CacheManagedCertificate(domain)
if err != nil { if err != nil {
log.Error(ctx).Err(err).Str("domain", domain).Msg("get cert") // this happens for unmanaged certificates
continue continue
} }
if cert.NeedsRenewal(cm) { if cert.NeedsRenewal(cm) {