mirror of https://github.com/apache/cloudstack.git
Bug 13692: Query was giving cluster id weven when it was pod level information.
Reviewed-By: Kishan
This commit is contained in:
parent
fac8091c9f
commit
d5a7419b1f
|
|
@ -247,8 +247,8 @@ public class CapacityDaoImpl extends GenericDaoBase<CapacityVO, Long> implements
|
|||
while (rs.next()) {
|
||||
SummedCapacity summedCapacity = new SummedCapacity( rs.getLong(1), rs.getLong(2), rs.getFloat(3),
|
||||
(short)rs.getLong(4), rs.getLong(5),
|
||||
level == 3 ? rs.getLong(7): null,
|
||||
level != 1 ? rs.getLong(6): null);
|
||||
level != 1 ? rs.getLong(6): null,
|
||||
level == 3 ? rs.getLong(7): null);
|
||||
|
||||
result.add(summedCapacity);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue