From 65b274d09bdaf05ea277a5eeabe76c25093f3c8a Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Thu, 3 Jan 2013 17:01:46 -0800 Subject: [PATCH] api: Fix incorrect annotation for list template cmd Signed-off-by: Rohit Yadav --- .../cloudstack/api/command/user/template/ListTemplatesCmd.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 90ca8bc7c0e..a1464ccdc4e 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;