mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-04 00:02:37 +01:00
Fix duplicate ip addresses returned for loadbalancing
This commit is contained in:
parent
0a36640546
commit
b329f61782
@ -2513,6 +2513,7 @@ public class ManagementServerImpl implements ManagementServer {
|
||||
if (forLoadBalancing != null && (Boolean)forLoadBalancing) {
|
||||
SearchBuilder<LoadBalancerVO> lbSearch = _loadbalancerDao.createSearchBuilder();
|
||||
sb.join("lbSearch", lbSearch, sb.entity().getId(), lbSearch.entity().getSourceIpAddressId(), JoinType.INNER);
|
||||
sb.groupBy(sb.entity().getId());
|
||||
}
|
||||
|
||||
if (keyword != null && address == null) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user