sync error

This commit is contained in:
Curtis Castrapel 2018-06-11 15:40:15 -07:00
parent 92860cffca
commit 7f5d1a0b6b
1 changed files with 11 additions and 9 deletions

View File

@ -65,10 +65,12 @@ def create_txt_record(host, value, account_number):
value,
account_number=account_number
)
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):
for change_id in change_ids:
zone_id, _ = change_id
change_txt_record(
"DELETE",