cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject [2/3] git commit: updated refs/heads/master to 78326f7
Date Fri, 31 May 2013 14:05:28 GMT
CLOUDSTACK-2789: updateVPC takes in id and name as required

Signed-off-by: Prasanna Santhanam <tsp@apache.org>


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

Branch: refs/heads/master
Commit: 16a76e92abce6864be0ebd6a82cbe7c46f456824
Parents: 49b5e61
Author: Prasanna Santhanam <tsp@apache.org>
Authored: Fri May 31 18:46:51 2013 +0530
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Fri May 31 19:35:14 2013 +0530

----------------------------------------------------------------------
 .../api/command/user/vpc/UpdateVPCCmd.java         |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/16a76e92/api/src/org/apache/cloudstack/api/command/user/vpc/UpdateVPCCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/vpc/UpdateVPCCmd.java b/api/src/org/apache/cloudstack/api/command/user/vpc/UpdateVPCCmd.java
index 2cc3c98..a641021 100644
--- a/api/src/org/apache/cloudstack/api/command/user/vpc/UpdateVPCCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vpc/UpdateVPCCmd.java
@@ -38,11 +38,11 @@ public class UpdateVPCCmd extends BaseAsyncCmd{
     //////////////// API parameters /////////////////////
     /////////////////////////////////////////////////////
 
-    @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType=VpcResponse.class,
+    @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType=VpcResponse.class,
required=true,
             description="the id of the VPC")
     private Long id;
 
-    @Parameter(name=ApiConstants.NAME, type=CommandType.STRING, description="the name of
the VPC")
+    @Parameter(name=ApiConstants.NAME, type=CommandType.STRING, description="the name of
the VPC", required=true)
     private String vpcName;
 
     @Parameter(name=ApiConstants.DISPLAY_TEXT, type=CommandType.STRING, description="the
display text of the VPC")


Mime
View raw message