mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Removed a statement where stopped machines couldn't be deleted from a
map
This commit is contained in:
parent
202df84e04
commit
815338ed26
@ -1590,9 +1590,6 @@ class Map(Cloud):
|
||||
for vm_name, vm_details in vms.copy().items():
|
||||
if vm_details == 'Absent':
|
||||
query_map[alias][driver].pop(vm_name)
|
||||
elif vm_details['state'].lower() not in ('running',
|
||||
'active'):
|
||||
query_map[alias][driver].pop(vm_name)
|
||||
if not query_map[alias][driver]:
|
||||
query_map[alias].pop(driver)
|
||||
if not query_map[alias]:
|
||||
|
Loading…
Reference in New Issue
Block a user