sync error
This commit is contained in:
parent
92860cffca
commit
7f5d1a0b6b
|
@ -65,15 +65,17 @@ def create_txt_record(host, value, account_number):
|
||||||
value,
|
value,
|
||||||
account_number=account_number
|
account_number=account_number
|
||||||
)
|
)
|
||||||
|
|
||||||
return zone_id, change_id
|
return zone_id, change_id
|
||||||
|
|
||||||
|
|
||||||
def delete_txt_record(change_id, account_number, host, value):
|
def delete_txt_record(change_ids, account_number, host, value):
|
||||||
zone_id, _ = change_id
|
for change_id in change_ids:
|
||||||
change_txt_record(
|
zone_id, _ = change_id
|
||||||
"DELETE",
|
change_txt_record(
|
||||||
zone_id,
|
"DELETE",
|
||||||
host,
|
zone_id,
|
||||||
value,
|
host,
|
||||||
account_number=account_number
|
value,
|
||||||
)
|
account_number=account_number
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue