mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
list_nodes_min should return a minimum dictionary
Not true or False
This commit is contained in:
parent
2d2bc1ffea
commit
805d43598e
@ -1261,7 +1261,7 @@ def list_nodes_min(kwargs=None, call=None):
|
||||
vm_list = salt.utils.vmware.get_mors_with_properties(_get_si(), vim.VirtualMachine, vm_properties)
|
||||
|
||||
for vm in vm_list:
|
||||
ret[vm["name"]] = True
|
||||
ret[vm['name']] = {'state': 'Running', 'id': vm['name']}
|
||||
|
||||
return ret
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user