incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [12/29] git commit: refs/heads/ui-plugins - Fix a typo
Date Mon, 11 Feb 2013 19:48:59 GMT
Fix a typo

CanUseForDeploy() didn't return correct result due to this


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/d9aa0519
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/d9aa0519
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/d9aa0519

Branch: refs/heads/ui-plugins
Commit: d9aa05195301d8aae389b0e8af7212355552a330
Parents: 0c5c08b
Author: Sheng Yang <sheng.yang@citrix.com>
Authored: Fri Feb 8 14:19:24 2013 -0800
Committer: Sheng Yang <sheng.yang@citrix.com>
Committed: Fri Feb 8 14:48:14 2013 -0800

----------------------------------------------------------------------
 .../cloud/network/dao/UserIpv6AddressDaoImpl.java  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d9aa0519/server/src/com/cloud/network/dao/UserIpv6AddressDaoImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/network/dao/UserIpv6AddressDaoImpl.java b/server/src/com/cloud/network/dao/UserIpv6AddressDaoImpl.java
index 587193c..c9f38ec 100644
--- a/server/src/com/cloud/network/dao/UserIpv6AddressDaoImpl.java
+++ b/server/src/com/cloud/network/dao/UserIpv6AddressDaoImpl.java
@@ -59,7 +59,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();
     }
 


Mime
View raw message