mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[vSphere] Support non-clusters setup
This commit is contained in:
parent
af6c7c90bc
commit
66e5521836
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ module Fog
|
|||
|
||||
def get_raw_clusters_from_folder(folder)
|
||||
folder.childEntity.map do |child_entity|
|
||||
if child_entity.is_a? RbVmomi::VIM::ClusterComputeResource
|
||||
if child_entity.is_a? RbVmomi::VIM::ComputeResource
|
||||
child_entity
|
||||
elsif child_entity.is_a? RbVmomi::VIM::Folder
|
||||
get_raw_clusters_from_folder(child_entity)
|
||||
|
|
Loading…
Reference in a new issue