mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +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
@ -84,16 +84,6 @@ public class ListCapacityCmd extends BaseListCmd {
|
|||||||
public String getCommandName() {
|
public String getCommandName() {
|
||||||
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(){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user