api: Fix incorrect annotation for list template cmd 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/65b274d0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/65b274d0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/65b274d0 Branch: refs/heads/api_refactoring Commit: 65b274d09bdaf05ea277a5eeabe76c25093f3c8a Parents: 32f035c Author: Rohit Yadav <[email protected]> Authored: Thu Jan 3 17:01:46 2013 -0800 Committer: Rohit Yadav <[email protected]> Committed: Thu Jan 3 22:32:46 2013 -0800 ---------------------------------------------------------------------- .../command/user/template/ListTemplatesCmd.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/65b274d0/api/src/org/apache/cloudstack/api/command/user/template/ListTemplatesCmd.java ---------------------------------------------------------------------- diff --git a/api/src/org/apache/cloudstack/api/command/user/template/ListTemplatesCmd.java b/api/src/org/apache/cloudstack/api/command/user/template/ListTemplatesCmd.java index 90ca8bc..a1464cc 100644 --- a/api/src/org/apache/cloudstack/api/command/user/template/ListTemplatesCmd.java +++ b/api/src/org/apache/cloudstack/api/command/user/template/ListTemplatesCmd.java @@ -50,7 +50,7 @@ public class ListTemplatesCmd extends BaseListTaggedResourcesCmd { @Parameter(name=ApiConstants.HYPERVISOR, type=CommandType.STRING, description="the hypervisor for which to restrict the search") private String hypervisor; - @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType=TemplateInfo.class, + @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType=TemplateResponse.class, description="the template ID") private Long id;
