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:
Nitin Mehta 2012-01-16 17:43:50 +05:30
parent c13c4b12a4
commit ac1886350d
1 changed files with 2 additions and 2 deletions

View File

@ -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")