From b15da07d43fff9ef99d3e685404ea2a7c32540ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tino=20V=C3=A1zquez?= Date: Mon, 23 Jul 2018 17:04:32 +0200 Subject: [PATCH] Update virtual_machine.rb --- src/vmm_mad/remotes/lib/vcenter_driver/virtual_machine.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/vmm_mad/remotes/lib/vcenter_driver/virtual_machine.rb b/src/vmm_mad/remotes/lib/vcenter_driver/virtual_machine.rb index 2c0cdd6fbd..a6784feacc 100644 --- a/src/vmm_mad/remotes/lib/vcenter_driver/virtual_machine.rb +++ b/src/vmm_mad/remotes/lib/vcenter_driver/virtual_machine.rb @@ -1483,7 +1483,9 @@ class VirtualMachine < Template return self['_ref'] end - #The exception will be handle outside this method + # This method raises an exception if the timeout is reached + # The exception needs to be handled in the VMM drivers and any + # process that uses this method def wait_deploy_timeout timeout_deploy = @vi_client.get_property_vcenter_conf(:vm_poweron_wait_default) time_start = Time.now