@@ -75,7 +75,9 @@ func (p *Provisioner) Run(ctx context.Context) error {
|
||||
}
|
||||
|
||||
func (p *Provisioner) checkPendingDomains(ctx context.Context) error {
|
||||
return p.pg.WithConn(ctx, func(conn pg.Conn) error {
|
||||
return p.pg.WithConn(
|
||||
ctx,
|
||||
func(conn pg.Conn) error {
|
||||
var domains coredata.CustomDomains
|
||||
if err := domains.ListDomainsWithPendingHTTPChallenges(ctx, conn, coredata.NewNoScope()); err != nil {
|
||||
return fmt.Errorf("cannot load domains with pending challenges: %w", err)
|
||||
@@ -105,7 +107,8 @@ func (p *Provisioner) checkPendingDomains(ctx context.Context) error {
|
||||
}
|
||||
|
||||
return nil
|
||||
})
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
func (p *Provisioner) provisionDomainCertificate(
|
||||
|
||||
Reference in New Issue
Block a user