mirror of https://github.com/apache/cloudstack.git
Fixed regression bug in listNetworks call (introduced during Project feature implementation)
This commit is contained in:
parent
eba6864965
commit
43bebcd050
|
|
@ -2008,7 +2008,7 @@ public class NetworkManagerImpl implements NetworkManager, NetworkService, Manag
|
|||
//account level networks
|
||||
SearchCriteria<NetworkVO> accountSC = _networksDao.createSearchCriteria();
|
||||
if (!permittedAccounts.isEmpty()) {
|
||||
accountSC.addAnd("accountId", SearchCriteria.Op.IN, permittedAccounts);
|
||||
accountSC.addAnd("accountId", SearchCriteria.Op.IN, permittedAccounts.toArray());
|
||||
}
|
||||
|
||||
accountSC.addAnd("isShared", SearchCriteria.Op.EQ, false);
|
||||
|
|
|
|||
Loading…
Reference in New Issue