You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ke...@apache.org on 2013/02/01 02:29:17 UTC

[10/43] git commit: refs/heads/javelin - DeployVMCmd: Remove @ACL on ipToNetwork map to avoid NPE

DeployVMCmd: Remove @ACL on ipToNetwork map to avoid NPE

Signed-off-by: Rohit Yadav <bh...@apache.org>


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

Branch: refs/heads/javelin
Commit: 5b92c57b2c3a7852fdc5e3c6e2a7e4b4bc701372
Parents: 9a95495
Author: Rohit Yadav <bh...@apache.org>
Authored: Mon Jan 28 16:10:12 2013 -0800
Committer: Sheng Yang <sh...@citrix.com>
Committed: Mon Jan 28 16:16:02 2013 -0800

----------------------------------------------------------------------
 .../api/command/user/vm/DeployVMCmd.java           |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/5b92c57b/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java b/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java
index a019511..5300e3c 100644
--- a/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java
@@ -146,7 +146,6 @@ public class DeployVMCmd extends BaseAsyncCreateCmd {
                     "Mutually exclusive with securitygroupids parameter")
     private List<String> securityGroupNameList;
 
-    @ACL(checkKeyAccess=true)
     @Parameter(name = ApiConstants.IP_NETWORK_LIST, type = CommandType.MAP,
             description = "ip to network mapping. Can't be specified with networkIds parameter." +
                     " Example: iptonetworklist[0].ip=10.10.10.11&iptonetworklist[0].networkid=uuid - requests to use ip 10.10.10.11 in network id=uuid")