Call correct function for resetting a VM

This commit is contained in:
C. R. Oldham 2016-12-05 15:42:11 -07:00
parent c3fbfcd231
commit 0146562fb4

View File

@ -1993,7 +1993,7 @@ def reset(name, call=None):
return ret
try:
log.info('Resetting VM {0}'.format(name))
task = vm["object"].Reset()
task = vm["object"].ResetVM_Task()
salt.utils.vmware.wait_for_task(task, name, 'reset')
except Exception as exc:
log.error(