diff --git a/lib/fog/vsphere/requests/compute/list_clusters.rb b/lib/fog/vsphere/requests/compute/list_clusters.rb index 80747b4f4..2e552006c 100644 --- a/lib/fog/vsphere/requests/compute/list_clusters.rb +++ b/lib/fog/vsphere/requests/compute/list_clusters.rb @@ -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)