api: Fix incorrect annotation for list template cmd

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
Rohit Yadav 2013-01-03 17:01:46 -08:00
parent 32f035c9fa
commit 65b274d09b

View File

@ -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;