Fix Cloudflare DNS
This commit is contained in:
parent
dfadcc52ef
commit
a7af3cf8d2
|
@ -66,8 +66,9 @@ def create_txt_record(host, value, account_number):
|
||||||
return zone_id, r['id']
|
return zone_id, r['id']
|
||||||
|
|
||||||
|
|
||||||
def delete_txt_record(change_id, account_number, host, value):
|
def delete_txt_record(change_ids, account_number, host, value):
|
||||||
cf = cf_api_call()
|
cf = cf_api_call()
|
||||||
|
for change_id in change_ids:
|
||||||
zone_id, record_id = change_id
|
zone_id, record_id = change_id
|
||||||
current_app.logger.debug("Removing record with id {0}".format(record_id))
|
current_app.logger.debug("Removing record with id {0}".format(record_id))
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue