fix problems in api post-refactor

This commit is contained in:
Chiradeep Vittal 2010-10-19 09:53:39 -07:00
parent 4d37269961
commit 947c2ca16d
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ public class ListVlanIpRangesCmd extends BaseListCmd {
@Parameter(name="domainid", type=CommandType.LONG, description="the domain ID with which the VLAN IP range is associated. If used with the account parameter, returns all VLAN IP ranges for that account in the specified domain.")
private Long domainId;
@Parameter(name="id", type=CommandType.LONG, required=true, description="the ID of the VLAN IP range")
@Parameter(name="id", type=CommandType.LONG, required=false, description="the ID of the VLAN IP range")
private Long id;
@Parameter(name="podid", type=CommandType.LONG, description="the Pod ID of the VLAN IP range")

View File

@ -447,7 +447,7 @@ public class ConfigurationManagerImpl implements ConfigurationManager {
String endIp = cmd.getEndIp();
String gateway = cmd.getGateway();
Long id = cmd.getId();
String name = cmd.getName();
String name = cmd.getPodName();
Long userId = UserContext.current().getUserId();
if (userId == null) {