mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
bug 9782: hardcoded default page size to be 500 for listConfigurations
status 9782: resolved fixed
This commit is contained in:
parent
a6fac0d768
commit
753cafa472
@ -47,7 +47,6 @@ public class ListCfgsByCmd extends BaseListCmd {
|
|||||||
@Parameter(name = ApiConstants.NAME, type = CommandType.STRING, description = "lists configuration by name")
|
@Parameter(name = ApiConstants.NAME, type = CommandType.STRING, description = "lists configuration by name")
|
||||||
private String configName;
|
private String configName;
|
||||||
|
|
||||||
|
|
||||||
// ///////////////////////////////////////////////////
|
// ///////////////////////////////////////////////////
|
||||||
// ///////////////// Accessors ///////////////////////
|
// ///////////////// Accessors ///////////////////////
|
||||||
// ///////////////////////////////////////////////////
|
// ///////////////////////////////////////////////////
|
||||||
@ -60,6 +59,15 @@ public class ListCfgsByCmd extends BaseListCmd {
|
|||||||
return configName;
|
return configName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Long getPageSizeVal() {
|
||||||
|
Long pageSizeVal = 500L;
|
||||||
|
Integer pageSize = getPageSize();
|
||||||
|
if (pageSize != null) {
|
||||||
|
pageSizeVal = pageSize.longValue();
|
||||||
|
}
|
||||||
|
return pageSizeVal;
|
||||||
|
}
|
||||||
|
|
||||||
// ///////////////////////////////////////////////////
|
// ///////////////////////////////////////////////////
|
||||||
// ///////////// API Implementation///////////////////
|
// ///////////// API Implementation///////////////////
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user