mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
bug 9452: Remove the overridden getPageSizeVal function in listCapacity and use it from BaseListCmd which has the changes for default pagination to unlimited.
This commit is contained in:
parent
14a8cbdc28
commit
ad60edfc5b
@ -85,16 +85,6 @@ public class ListCapacityCmd extends BaseListCmd {
|
|||||||
return s_name;
|
return s_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Long getPageSizeVal() {
|
|
||||||
Long pageSizeVal = 100L;
|
|
||||||
Integer pageSize = getPageSize();
|
|
||||||
if (pageSize != null) {
|
|
||||||
pageSizeVal = pageSize.longValue();
|
|
||||||
}
|
|
||||||
return pageSizeVal;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void execute(){
|
public void execute(){
|
||||||
List<? extends Capacity> result = _mgr.listCapacities(this);
|
List<? extends Capacity> result = _mgr.listCapacities(this);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user