mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
dd9e132de5
Without this patch the vm_clone requiest would not find a Managed Object Reference when a UUID that is not a string is passed as the instance_uuid option. This is a problem because an unhelpful "undefined method `parent' for nil:NilClass" would be thrown to the application. This patch throws a more helpful Fog::Compute::Vsphere::NotFound exception if the Virtual Machine template is not found. The tests have been updated to reflect this expectation. |
||
---|---|---|
.. | ||
current_time_tests.rb | ||
find_vm_by_ref_tests.rb | ||
list_virtual_machines_tests.rb | ||
vm_clone_tests.rb | ||
vm_destroy_tests.rb | ||
vm_power_off_tests.rb | ||
vm_power_on_tests.rb | ||
vm_reboot_tests.rb |