Skip to content

Commit 17c0cb4

Browse files
author
Alena Prokharchyk
committed
CLOUDSTACK-5089: fixed VPCDao to set the accountId field correctly
1 parent 4e632af commit 17c0cb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎engine/schema/src/com/cloud/network/vpc/dao/VpcDaoImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ protected VpcDaoImpl() {
6868

6969
CountByAccountId = createSearchBuilder(Long.class);
7070
CountByAccountId.select(null, Func.COUNT, CountByAccountId.entity().getId());
71-
CountByAccountId.and("offeringId", CountByAccountId.entity().getAccountId(), Op.EQ);
71+
CountByAccountId.and("accountId", CountByAccountId.entity().getAccountId(), Op.EQ);
7272
CountByAccountId.and("removed", CountByAccountId.entity().getRemoved(), Op.NULL);
7373
CountByAccountId.done();
7474
}

0 commit comments

Comments
 (0)