hypervisor type is required, right now the parameter exception is thrown inside the resource svc

This commit is contained in:
Chiradeep Vittal 2011-01-07 10:50:52 -08:00
parent 8284abedf5
commit d95c7a4ade

View File

@ -63,7 +63,7 @@ public class AddHostCmd extends BaseCmd {
@Parameter(name=ApiConstants.ZONE_ID, type=CommandType.LONG, required=true, description="the Zone ID for the host")
private Long zoneId;
@Parameter(name=ApiConstants.HYPERVISOR, type=CommandType.STRING, required=false, description="hypervisor type of the host")
@Parameter(name=ApiConstants.HYPERVISOR, type=CommandType.STRING, required=true, description="hypervisor type of the host")
private String hypervisor;