mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
CLOUDFLARE: Upgrade modules/GitHub.com/cloudflare/cloudflare go 0.70.0 (#2518)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Brian Hartvigsen <brian.andrew@brianandjenny.com> Co-authored-by: Tom Limoncelli <tal@whatexit.org>
This commit is contained in:
@ -65,7 +65,7 @@ func (c *cloudflareProvider) deleteRec(rec cloudflare.DNSRecord, domainID string
|
||||
}
|
||||
|
||||
func (c *cloudflareProvider) createZone(domainName string) (string, error) {
|
||||
zone, err := c.cfClient.CreateZone(context.Background(), domainName, false, cloudflare.Account{ID: c.cfClient.AccountID}, "full")
|
||||
zone, err := c.cfClient.CreateZone(context.Background(), domainName, false, cloudflare.Account{ID: c.accountId}, "full")
|
||||
return zone.ID, err
|
||||
}
|
||||
|
||||
@ -422,7 +422,7 @@ func (c *cloudflareProvider) createTestWorker(workerName string) error {
|
||||
});`,
|
||||
}
|
||||
|
||||
_, err := c.cfClient.UploadWorker(context.Background(), cloudflare.AccountIdentifier(c.cfClient.AccountID), wp)
|
||||
_, err := c.cfClient.UploadWorker(context.Background(), cloudflare.AccountIdentifier(c.accountId), wp)
|
||||
return err
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user