Uncomment cert provisioner dns config check
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -284,16 +284,16 @@ func (p *Provisioner) provisionDomainCertificate(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if domain.SSLStatus == coredata.CustomDomainSSLStatusPending || domain.SSLStatus == coredata.CustomDomainSSLStatusRenewing {
|
if domain.SSLStatus == coredata.CustomDomainSSLStatusPending || domain.SSLStatus == coredata.CustomDomainSSLStatusRenewing {
|
||||||
// if err := p.checkDNSConfiguration(domain.Domain); err != nil {
|
if err := p.checkDNSConfiguration(domain.Domain); err != nil {
|
||||||
// p.logger.WarnCtx(
|
p.logger.WarnCtx(
|
||||||
// ctx,
|
ctx,
|
||||||
// "dns configuration check failed",
|
"dns configuration check failed",
|
||||||
// log.String("domain", domain.Domain),
|
log.String("domain", domain.Domain),
|
||||||
// log.Error(err),
|
log.Error(err),
|
||||||
// )
|
)
|
||||||
|
|
||||||
// return err
|
return err
|
||||||
// }
|
}
|
||||||
|
|
||||||
p.logger.InfoCtx(ctx, "DNS configuration verified, initiating HTTP challenge for domain", log.String("domain", domain.Domain))
|
p.logger.InfoCtx(ctx, "DNS configuration verified, initiating HTTP challenge for domain", log.String("domain", domain.Domain))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user