Fixes VMware linked clone cleanup bug. Fixes #420.

This commit is contained in:
grossmj 2016-02-10 11:26:40 -07:00
parent 942d07c8ce
commit 5842487cd0

View File

@ -398,7 +398,7 @@ class VMware(BaseManager):
break break
if vmlist_entry is not None: if vmlist_entry is not None:
for name in inventory_pairs.keys(): for name in inventory_pairs.copy().keys():
if name.startswith(vmlist_entry): if name.startswith(vmlist_entry):
del inventory_pairs[name] del inventory_pairs[name]