mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
list_nodes_min should return a minimum dictionary
Not true or False
This commit is contained in:
parent
2d2bc1ffea
commit
805d43598e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue