-
Notifications
You must be signed in to change notification settings - Fork 913
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
govmomi.Folder.Children cannot handle StoragePods, ClusterComputeResources, and VmwareDistributedVirtualSwitch #119
Comments
I also ran into similar issues, I was assuming I was just using the language incorrectly. The goroutine panics if any children in that folder are of the above types. panic: Unknown managed entity: ClusterComputeResource
|
dougm
added a commit
to dougm/govmomi
that referenced
this issue
Sep 20, 2014
Folder.Children and SearchIndex.Find methods convert types.ManagedObjectReference to govmomi package types via the newReference method. Adding support other types such as: StoragePod, ClusterComputeResource, VmwareDistributedVirtualSwitch Fixes github issue vmware#119
Fixed! Thanks much. |
Great, closing. |
tkak
pushed a commit
to tkak/govmomi
that referenced
this issue
Dec 27, 2014
Folder.Children and SearchIndex.Find methods convert types.ManagedObjectReference to govmomi package types via the newReference method. Adding support other types such as: StoragePod, ClusterComputeResource, VmwareDistributedVirtualSwitch Fixes github issue vmware#119
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks like govmomi.Folder.Children() does not support some types.
The text was updated successfully, but these errors were encountered: