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/99a04a41 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/99a04a41 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/99a04a41 Branch: refs/heads/regions Commit: 99a04a416ccab58d0b0ecd50375670a7f09da2fe Parents: 66430c9 Author: Rohit Yadav <bhais...@apache.org> Authored: Mon Jan 28 16:10:12 2013 -0800 Committer: Rohit Yadav <bhais...@apache.org> Committed: Mon Jan 28 16:10:12 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/99a04a41/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")