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:
@@ -74,7 +74,7 @@ type cloudflareProvider struct {
|
||||
ignoredLabels []string
|
||||
manageRedirects bool
|
||||
manageWorkers bool
|
||||
accountId string
|
||||
accountID string
|
||||
cfClient *cloudflare.API
|
||||
}
|
||||
|
||||
@@ -690,7 +690,7 @@ func newCloudflare(m map[string]string, metadata json.RawMessage) (providers.DNS
|
||||
|
||||
// Check account data if set
|
||||
if m["accountid"] != "" {
|
||||
api.accountId = m["accountid"]
|
||||
api.accountID = m["accountid"]
|
||||
}
|
||||
|
||||
debug, err := strconv.ParseBool(os.Getenv("CLOUDFLAREAPI_DEBUG"))
|
||||
|
Reference in New Issue
Block a user