mirror of https://github.com/apache/cloudstack.git
bug 9452: ListCapacity - works now. Remove all the pagination logic.
This commit is contained in:
parent
6d85c9952c
commit
bb3d7013a9
|
|
@ -3178,7 +3178,7 @@ public class ManagementServerImpl implements ManagementServer {
|
|||
@Override
|
||||
public List<CapacityVO> listCapacities(ListCapacityCmd cmd) {
|
||||
|
||||
Filter searchFilter = new Filter(CapacityVO.class, "capacityType", true, cmd.getStartIndex(), cmd.getPageSizeVal());
|
||||
Filter searchFilter = new Filter(CapacityVO.class, "capacityType", true, null, null);
|
||||
SearchCriteria<CapacityVO> sc = _capacityDao.createSearchCriteria();
|
||||
List<CapacityVO> capacities = new LinkedList<CapacityVO>();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue