mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	hypervisor type is required, right now the parameter exception is thrown inside the resource svc
This commit is contained in:
		
							parent
							
								
									8284abedf5
								
							
						
					
					
						commit
						d95c7a4ade
					
				@ -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;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user