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

[vsphere] Fix NoMethodError: undefined method in list_virtual_machines

This commit is contained in:
Carlos Sanchez 2013-08-06 16:22:00 +02:00
parent 3354b9e47a
commit effcae7691

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