CopyTemplateCmd: Fix correct annotation for id param in copytemplate 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/d587e243 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/d587e243 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/d587e243 Branch: refs/heads/marvin-refactor-phase1 Commit: d587e24373d2e15ffcc93837b646c1f7b304fe8d Parents: 3fd9853 Author: Rohit Yadav <bhais...@apache.org> Authored: Wed Jan 23 11:35:21 2013 -0800 Committer: Prasanna Santhanam <t...@apache.org> Committed: Thu Jan 24 17:48:35 2013 +0530 ---------------------------------------------------------------------- .../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/d587e243/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 406f32c..f865dd6 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 @@ -51,7 +51,7 @@ public class CopyTemplateCmd extends BaseAsyncCmd { required=true, description="ID of the zone the template is being copied to.") private Long destZoneId; - @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType = UserVmResponse.class, + @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType = TemplateResponse.class, required=true, description="Template ID.") private Long id;