mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
CLOUDFLARE: Fix domain list cache error (#1662)
* Fix broken test * CLOUDFLARE: Fix missing nameserver bug * CSCGLOBAL: Catch more status states * wip! * remove extra print
This commit is contained in:
@@ -326,7 +326,7 @@ func (client *providerClient) getDomains() ([]string, error) {
|
||||
json.Unmarshal(bodyString, &dr)
|
||||
|
||||
if dr.Meta.Pages > 1 {
|
||||
return nil, fmt.Errorf("cscglobal getDomains: unimplemented paganation")
|
||||
return nil, fmt.Errorf("cscglobal getDomains: unimplemented paganation")
|
||||
}
|
||||
|
||||
var r []string
|
||||
@@ -483,7 +483,7 @@ func (client *providerClient) clearRequests(domain string) error {
|
||||
}
|
||||
}
|
||||
switch ze.Status {
|
||||
case "PROPAGATING":
|
||||
case "NEW", "SUBMITTED", "PROCESSING", "PROPAGATING":
|
||||
printer.Printf("INFO: Waiting for id=%s status=%s\n", ze.ID, ze.Status)
|
||||
client.waitRequest(ze.ID)
|
||||
case "FAILED":
|
||||
|
Reference in New Issue
Block a user