api: Fix name field in @APICommand for CopyTemplateCmd.java Signed-off-by: Rohit Yadav <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/983fe971 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/983fe971 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/983fe971 Branch: refs/heads/api_refactoring Commit: 983fe9712fac863397fdc0f9eb1eeb727986b112 Parents: 774cb29 Author: Rohit Yadav <[email protected]> Authored: Fri Dec 28 01:47:22 2012 -0800 Committer: Rohit Yadav <[email protected]> Committed: Fri Dec 28 01:47:22 2012 -0800 ---------------------------------------------------------------------- .../api/command/user/template/CopyTemplateCmd.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/983fe971/api/src/org/apache/cloudstack/api/command/user/template/CopyTemplateCmd.java ---------------------------------------------------------------------- diff --git a/api/src/org/apache/cloudstack/api/command/user/template/CopyTemplateCmd.java b/api/src/org/apache/cloudstack/api/command/user/template/CopyTemplateCmd.java index 3b24ba1..c6461a7 100644 --- a/api/src/org/apache/cloudstack/api/command/user/template/CopyTemplateCmd.java +++ b/api/src/org/apache/cloudstack/api/command/user/template/CopyTemplateCmd.java @@ -37,7 +37,7 @@ import com.cloud.template.VirtualMachineTemplate; import com.cloud.user.Account; import com.cloud.user.UserContext; -@APICommand(name = "copyIso", name = "copyTemplate", description="Copies a template from one zone to another.", responseObject=TemplateResponse.class) +@APICommand(name = "copyTemplate", description="Copies a template from one zone to another.", responseObject=TemplateResponse.class) public class CopyTemplateCmd extends BaseAsyncCmd { public static final Logger s_logger = Logger.getLogger(CopyTemplateCmd.class.getName()); private static final String s_name = "copytemplateresponse";
