mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Sets AccountID.
This commit is contained in:
@ -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")
|
return nil, fmt.Errorf("either both cloudflare accountid and accountname must be provided or neither")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
api.cfClient.AccountID = api.AccountID
|
||||||
|
|
||||||
if len(metadata) > 0 {
|
if len(metadata) > 0 {
|
||||||
parsedMeta := &struct {
|
parsedMeta := &struct {
|
||||||
IPConversions string `json:"ip_conversions"`
|
IPConversions string `json:"ip_conversions"`
|
||||||
|
Reference in New Issue
Block a user