1
0
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:
Tom Limoncelli
2023-09-15 15:30:55 -04:00
committed by GitHub
parent 6ad7f348f7
commit c01fb2d40b
9 changed files with 77 additions and 104 deletions

View File

@@ -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"))