Github user DaanHoogland commented on the pull request:
https://github.com/apache/cloudstack/pull/1056#issuecomment-155468243
@rafaelweingartner after randomly oredering and limiting output to 1 the
next step is looping over all (1) results and retrieving all hosts one by one
ignoring previous results in the set.
@miguelaferreira growing this out my idea is to start by having
selectHypervisorHost throw an exception on host == null and catch it one level
up to just ignore the finding it again part. I'll implement it for arguments
sake and force push
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---