mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Update Deps, fix staticcheck and golint warnings (#2558)
This commit is contained in:
@ -66,7 +66,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.accountId}, "full")
|
||||
zone, err := c.cfClient.CreateZone(context.Background(), domainName, false, cloudflare.Account{ID: c.accountID}, "full")
|
||||
return zone.ID, err
|
||||
}
|
||||
|
||||
@ -443,7 +443,7 @@ func (c *cloudflareProvider) createTestWorker(workerName string) error {
|
||||
});`,
|
||||
}
|
||||
|
||||
_, err := c.cfClient.UploadWorker(context.Background(), cloudflare.AccountIdentifier(c.accountId), wp)
|
||||
_, err := c.cfClient.UploadWorker(context.Background(), cloudflare.AccountIdentifier(c.accountID), wp)
|
||||
return err
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user