list_nodes_min should return a minimum dictionary

Not true or False
This commit is contained in:
Daniel Wallace 2016-08-26 11:06:39 -05:00
parent 2d2bc1ffea
commit 805d43598e

View File

@ -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