1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #2039 from maestrodev/vsphere-undefined_method

[vsphere] Fix NoMethodError: undefined method in list_virtual_machines
This commit is contained in:
Wesley Beary 2013-08-06 07:42:38 -07:00
commit f972708406

View file

@ -9,7 +9,7 @@ module Fog
options[:folder] ||= options['folder']
if options['instance_uuid'] then
[service.get_virtual_machine(options['instance_uuid'])]
[get_virtual_machine(options['instance_uuid'])]
elsif options[:folder] && options[:datacenter] then
list_all_virtual_machines_in_folder(options[:folder], options[:datacenter])
else