mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-02 20:02:29 +01:00 
			
		
		
		
	CS-15471: Fix wrong type of updating customer gateway lifetime
Also fixes one typo.
This commit is contained in:
		
							parent
							
								
									0dec6ea804
								
							
						
					
					
						commit
						4b0515f8e5
					
				@ -32,7 +32,7 @@ import com.cloud.network.Site2SiteVpnConnection;
 | 
			
		||||
 | 
			
		||||
@Implementation(description="Lists site to site vpn connection gateways", responseObject=Site2SiteVpnConnectionResponse.class)
 | 
			
		||||
public class ListVpnConnectionsCmd extends BaseListProjectAndAccountResourcesCmd {
 | 
			
		||||
    public static final Logger s_logger = Logger.getLogger (ListVpnCustomerGatewaysCmd.class.getName());
 | 
			
		||||
    public static final Logger s_logger = Logger.getLogger (ListVpnConnectionsCmd.class.getName());
 | 
			
		||||
 | 
			
		||||
    private static final String s_name = "listvpnconnectionsresponse";
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -61,7 +61,7 @@ public class UpdateVpnCustomerGatewayCmd extends BaseAsyncCmd {
 | 
			
		||||
    @Parameter(name=ApiConstants.ESP_POLICY, type=CommandType.STRING, required=true, description="ESP policy of the customer gateway")
 | 
			
		||||
    private String espPolicy;
 | 
			
		||||
 | 
			
		||||
    @Parameter(name=ApiConstants.LIFETIME, type=CommandType.STRING, required=false, description="Lifetime of vpn connection to the customer gateway, in seconds")
 | 
			
		||||
    @Parameter(name=ApiConstants.LIFETIME, type=CommandType.LONG, required=false, description="Lifetime of vpn connection to the customer gateway, in seconds")
 | 
			
		||||
    private Long lifetime;
 | 
			
		||||
 | 
			
		||||
    /////////////////////////////////////////////////////
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user