CopyTemplateCmd: Fix correct annotation for id param in copytemplate 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/8273af7c Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/8273af7c Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/8273af7c Branch: refs/heads/master Commit: 8273af7cbfaa3c0851821c44774f048b20f85b54 Parents: 31a5669 Author: Rohit Yadav <[email protected]> Authored: Wed Jan 23 11:35:21 2013 -0800 Committer: Rohit Yadav <[email protected]> Committed: Wed Jan 23 14:57:40 2013 -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/8273af7c/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;
