mirror of https://github.com/apache/cloudstack.git
bug 13063 remove the compatibility changes made for UI. UI should now call the listcapacity with zoneId parameter which is mandatory.
Reviewed by : Kishan.
This commit is contained in:
parent
c13c4b12a4
commit
ac1886350d
|
|
@ -46,8 +46,8 @@ public class ListCapacityCmd extends BaseListCmd {
|
|||
/////////////////////////////////////////////////////
|
||||
|
||||
@IdentityMapper(entityTableName="data_center")
|
||||
@Parameter(name=ApiConstants.ZONE_ID, type=CommandType.LONG, description="lists capacity by the Zone ID")
|
||||
private Long zoneId = 1L;
|
||||
@Parameter(name=ApiConstants.ZONE_ID, type=CommandType.LONG, required=true, description="lists capacity by the Zone ID")
|
||||
private Long zoneId;
|
||||
|
||||
@IdentityMapper(entityTableName="host_pod_ref")
|
||||
@Parameter(name=ApiConstants.POD_ID, type=CommandType.LONG, description="lists capacity by the Pod ID")
|
||||
|
|
|
|||
Loading…
Reference in New Issue