mirror of https://github.com/apache/cloudstack.git
Fix a typo
CanUseForDeploy() didn't return correct result due to this
This commit is contained in:
parent
931372e5ca
commit
0ea19fc2aa
|
|
@ -41,7 +41,7 @@ public class UserIpv6AddressDaoImpl extends GenericDaoBase<UserIpv6AddressVO, Lo
|
|||
CountFreePublicIps = createSearchBuilder(Long.class);
|
||||
CountFreePublicIps.select(null, Func.COUNT, null);
|
||||
CountFreePublicIps.and("networkId", CountFreePublicIps.entity().getSourceNetworkId(), SearchCriteria.Op.EQ);
|
||||
CountFreePublicIps.and("vlanId", CountFreePublicIps.entity().getSourceNetworkId(), SearchCriteria.Op.EQ);
|
||||
CountFreePublicIps.and("vlanId", CountFreePublicIps.entity().getVlanId(), SearchCriteria.Op.EQ);
|
||||
CountFreePublicIps.done();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue