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:
parent
3354b9e47a
commit
effcae7691
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue