Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[hueemulation] Fix broken fallback address (#7305)
With the changes in #6967 the HueEmulationServiceOSGiTest always fails for me. The reason is that if the discoveryIps are not configured, it is no longer guaranteed it will use the primary IPv4 host address as fallback. In my case the iterator on the HashSet would return an IPv6 address as first address. By using a LinkedHashSet the order is preserved and it will again use the primary IPv4 host address as fallback. Signed-off-by: Wouter Born <[email protected]>
- Loading branch information