mirror of
https://github.com/go-acme/lego.git
synced 2025-01-16 11:36:53 +02:00
cloudflare: fix panic when accessing record cache (#1005)
This commit is contained in:
parent
fa5555d3f4
commit
e6ff557596
@ -105,7 +105,11 @@ func NewDNSProviderConfig(config *Config) (*DNSProvider, error) {
|
|||||||
return nil, fmt.Errorf("cloudflare: %v", err)
|
return nil, fmt.Errorf("cloudflare: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
return &DNSProvider{client: client, config: config}, nil
|
return &DNSProvider{
|
||||||
|
client: client,
|
||||||
|
config: config,
|
||||||
|
recordIDs: make(map[string]string),
|
||||||
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Timeout returns the timeout and interval to use when checking for DNS propagation.
|
// Timeout returns the timeout and interval to use when checking for DNS propagation.
|
||||||
|
Loading…
Reference in New Issue
Block a user