govmomi icon indicating copy to clipboard operation
govmomi copied to clipboard

[BUG] VirtualAppList function can't handle nested Virtual Apps

Open StefanKurek opened this issue 1 year ago • 3 comments

Describe the bug While using the vcenterreceiver in the OTEL Collector, I came across a bug with a bug in the VirtualAppList function. It does not handle nested Virtual Apps in the way that the ResourcePoolList function can handle nested Resource Pools. See the collector issue here for a more detailed description.

To Reproduce Steps to reproduce the behavior:

  1. Tried to use the VirtualAppList function with an environment that had a Virtual App nested directly underneath another Virtual App. In this case, only the parent Virtual App is returned.

Expected behavior Both Virtual Apps would be returned.

Affected version v0.36.3 (But I looked at the code of the newest version, and it doesn't appear to fix anything)

Screenshots/Debug Output NA

Additional context

StefanKurek avatar May 29 '24 20:05 StefanKurek

Howdy 🖐   StefanKurek ! Thank you for your interest in this project. We value your feedback and will respond soon.

If you want to contribute to this project, please make yourself familiar with the CONTRIBUTION guidelines.

github-actions[bot] avatar May 29 '24 20:05 github-actions[bot]

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Mark as fresh by adding the comment /remove-lifecycle stale.

github-actions[bot] avatar Aug 28 '24 01:08 github-actions[bot]

/remove-lifecycle stale

StefanKurek avatar Aug 28 '24 19:08 StefanKurek

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Mark as fresh by adding the comment /remove-lifecycle stale.

github-actions[bot] avatar Nov 27 '24 01:11 github-actions[bot]

I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

github-actions[bot] avatar Mar 17 '25 01:03 github-actions[bot]