mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-12-09 13:46:07 +08:00
Sets AccountID.
This commit is contained in:
parent
53ced83cd9
commit
b55278140f
1 changed files with 2 additions and 0 deletions
|
|
@ -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"`
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue