You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by al...@apache.org on 2013/11/08 00:53:51 UTC
git commit: updated refs/heads/4.2 to 17c0cb4
Updated Branches:
refs/heads/4.2 4e632afd5 -> 17c0cb48e
CLOUDSTACK-5089: fixed VPCDao to set the accountId field correctly
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/17c0cb48
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/17c0cb48
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/17c0cb48
Branch: refs/heads/4.2
Commit: 17c0cb48e1814f1fe2c9827b28fcf1ccdbd3b080
Parents: 4e632af
Author: Alena Prokharchyk <al...@citrix.com>
Authored: Thu Nov 7 13:34:31 2013 -0800
Committer: Alena Prokharchyk <al...@citrix.com>
Committed: Thu Nov 7 15:40:25 2013 -0800
----------------------------------------------------------------------
engine/schema/src/com/cloud/network/vpc/dao/VpcDaoImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/17c0cb48/engine/schema/src/com/cloud/network/vpc/dao/VpcDaoImpl.java
----------------------------------------------------------------------
diff --git a/engine/schema/src/com/cloud/network/vpc/dao/VpcDaoImpl.java b/engine/schema/src/com/cloud/network/vpc/dao/VpcDaoImpl.java
index 12868fe..5b9d10f 100644
--- a/engine/schema/src/com/cloud/network/vpc/dao/VpcDaoImpl.java
+++ b/engine/schema/src/com/cloud/network/vpc/dao/VpcDaoImpl.java
@@ -68,7 +68,7 @@ public class VpcDaoImpl extends GenericDaoBase<VpcVO, Long> implements VpcDao{
CountByAccountId = createSearchBuilder(Long.class);
CountByAccountId.select(null, Func.COUNT, CountByAccountId.entity().getId());
- CountByAccountId.and("offeringId", CountByAccountId.entity().getAccountId(), Op.EQ);
+ CountByAccountId.and("accountId", CountByAccountId.entity().getAccountId(), Op.EQ);
CountByAccountId.and("removed", CountByAccountId.entity().getRemoved(), Op.NULL);
CountByAccountId.done();
}