1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

Wrong shutdown signature fixed for vCenter

This commit is contained in:
Tino Vazquez 2016-04-26 19:54:06 +02:00
parent cfc38b0359
commit 11ec5378e7

View File

@ -1375,7 +1375,7 @@ class VCenterVm
def self.cancel(deploy_id, hostname, lcm_state, keep_disks, disks)
case lcm_state
when "SHUTDOWN_POWEROFF", "SHUTDOWN_UNDEPLOY"
shutdown(deploy_id, hostname, lcm_state, keep_disks)
shutdown(deploy_id, hostname, lcm_state, keep_disks, disks)
when "CANCEL", "LCM_INIT", "CLEANUP_RESUBMIT", "SHUTDOWN", "CLEANUP_DELETE"
hid = VIClient::translate_hostname(hostname)
connection = VIClient.new(hid)