[BUG] VirtualAppList function can't handle nested Virtual Apps
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:
- Tried to use the
VirtualAppListfunction 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
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.
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.
/remove-lifecycle stale
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.
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.