1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

Sets AccountID.

This commit is contained in:
F.D.Castel
2021-10-01 02:37:00 -03:00
parent 53ced83cd9
commit b55278140f

View File

@ -514,6 +514,8 @@ func newCloudflare(m map[string]string, metadata json.RawMessage) (providers.DNS
return nil, fmt.Errorf("either both cloudflare accountid and accountname must be provided or neither")
}
api.cfClient.AccountID = api.AccountID
if len(metadata) > 0 {
parsedMeta := &struct {
IPConversions string `json:"ip_conversions"`