mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
CLOUDFLARE: Fixed bug: Zone not populated with records if domain was created in the same run (#2690)
Signed-off-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
This commit is contained in:
committed by
GitHub
parent
4e8fb894ef
commit
dbb724b911
@@ -823,6 +823,7 @@ func (c *cloudflareProvider) EnsureZoneExists(domain string) error {
|
|||||||
var id string
|
var id string
|
||||||
id, err := c.createZone(domain)
|
id, err := c.createZone(domain)
|
||||||
printer.Printf("Added zone for %s to Cloudflare account: %s\n", domain, id)
|
printer.Printf("Added zone for %s to Cloudflare account: %s\n", domain, id)
|
||||||
|
c.domainIndex = nil // clear the index to let the following functions get a fresh list with nameservers etc..
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user