CLOUDSTACK-6927: remove duplicate in cleanup list

This commit is contained in:
Loic Lambiel 2014-06-12 15:31:07 +02:00 committed by Sebastien Goasguen
parent 9289158406
commit c680f6ea98
1 changed files with 2 additions and 0 deletions

View File

@ -722,6 +722,8 @@ def cleanup_rules():
logging.debug("chain " + chain + " does not correspond to a vm or vm is not running or paused, cleaning up ebtable rules")
cleanup.append(vm_name)
cleanup = list(set(cleanup))
for vmname in cleanup:
destroy_network_rules_for_vm(vmname)