[
https://issues.apache.org/jira/browse/CLOUDSTACK-2713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13668235#comment-13668235
]
ASF subversion and git services commented on CLOUDSTACK-2713:
-------------------------------------------------------------
Commit 4a563b64ee73fd280967ffb0d1efd9f2918c6573 in branch refs/heads/master
from [~tsp]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4a563b6 ]
CLOUDSTACK-2713: StoragePoolResponse for a createTemplate
createTemplate returns a templateresponse and not a storagepool
response. Correcting the mapping to fix API docs.
Signed-off-by: Prasanna Santhanam <[email protected]>
> CreateTemplateCmd returns a StoragePoolResponse
> -----------------------------------------------
>
> Key: CLOUDSTACK-2713
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2713
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: API
> Affects Versions: 4.2.0
> Reporter: Prasanna Santhanam
> Assignee: Prasanna Santhanam
> Fix For: 4.2.0
>
>
> @APICommand(name = "createTemplate", responseObject =
> StoragePoolResponse.class, description = "Creates a template of a virtual
> machine. " + "The virtual machine must be in a STOPPED state. "
> + "A template created from this command is automatically designated
> as a private template visible to the account that created it.")
> public class CreateTemplateCmd extends BaseAsyncCreateCmd {
> should be
> @APICommand(name = "createTemplate", responseObject = TemplateResponse.class,
> description = "Creates a template of a virtual machine. " + "The virtual
> machine must be in a STOPPED state. "
> + "A template created from this command is automatically designated
> as a private template visible to the account that created it.")
> public class CreateTemplateCmd extends BaseAsyncCreateCmd {
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira