Fixes the wrong order of zone and resource record when showing what has been
deleted.
This commit is contained in:
parent
24e6b7e399
commit
8242af4349
|
@ -96,7 +96,7 @@ def delete_record(dns_server, zone_name, rr_list, key_name):
|
||||||
records = []
|
records = []
|
||||||
for resource_record in rr_list:
|
for resource_record in rr_list:
|
||||||
dns_update.delete(resource_record)
|
dns_update.delete(resource_record)
|
||||||
records.append("%s.%s" % (zone_name, resource_record))
|
records.append("%s.%s" % (resource_record, zone_name))
|
||||||
|
|
||||||
output = send_dns_update(dns_update, dns_server, key_name)
|
output = send_dns_update(dns_update, dns_server, key_name)
|
||||||
delete_response = [{"description": "Deleted Records:<br/>%s" %
|
delete_response = [{"description": "Deleted Records:<br/>%s" %
|
||||||
|
|
Loading…
Reference in New Issue