mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-09-05 04:34:32 +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")
|
||||
}
|
||||
|
||||
api.cfClient.AccountID = api.AccountID
|
||||
|
||||
if len(metadata) > 0 {
|
||||
parsedMeta := &struct {
|
||||
IPConversions string `json:"ip_conversions"`
|
||||
|
|
Loading…
Add table
Reference in a new issue