You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by je...@apache.org on 2012/07/23 20:36:28 UTC

git commit: cloudstack 3.0 API - CreateVpnCustomerGateway API: correct parameter type on server-side.

Updated Branches:
  refs/heads/vpc 7cf700257 -> 497c324ef


cloudstack 3.0 API - CreateVpnCustomerGateway API: correct parameter type on server-side.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/497c324e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/497c324e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/497c324e

Branch: refs/heads/vpc
Commit: 497c324efc11dec57c462b98cc5fb8c3ac3928eb
Parents: 7cf7002
Author: Jessica Wang <je...@citrix.com>
Authored: Mon Jul 23 11:34:19 2012 -0700
Committer: Jessica Wang <je...@citrix.com>
Committed: Mon Jul 23 11:35:48 2012 -0700

----------------------------------------------------------------------
 .../api/commands/CreateVpnCustomerGatewayCmd.java  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/497c324e/api/src/com/cloud/api/commands/CreateVpnCustomerGatewayCmd.java
----------------------------------------------------------------------
diff --git a/api/src/com/cloud/api/commands/CreateVpnCustomerGatewayCmd.java b/api/src/com/cloud/api/commands/CreateVpnCustomerGatewayCmd.java
index ed67424..ca028d7 100644
--- a/api/src/com/cloud/api/commands/CreateVpnCustomerGatewayCmd.java
+++ b/api/src/com/cloud/api/commands/CreateVpnCustomerGatewayCmd.java
@@ -53,7 +53,7 @@ public class CreateVpnCustomerGatewayCmd 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;
 
     /////////////////////////////////////////////////////