DeployVMCmd: Remove @ACL on ipToNetwork map to avoid NPE Signed-off-by: Rohit Yadav <bhais...@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/ipv6 Commit: 5b92c57b2c3a7852fdc5e3c6e2a7e4b4bc701372 Parents: 9a95495 Author: Rohit Yadav <bhais...@apache.org> Authored: Mon Jan 28 16:10:12 2013 -0800 Committer: Sheng Yang <sheng.y...@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")