cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kishankavala <...@git.apache.org>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-8687: Prepare template only on...
Date Thu, 30 Jul 2015 08:34:14 GMT
Github user kishankavala commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/635#discussion_r35849002
  
    --- Diff: api/src/org/apache/cloudstack/api/command/admin/template/PrepareTemplateCmd.java
---
    @@ -60,6 +61,15 @@
                    description = "template ID of the template to be prepared in primary storage(s).")
         private Long templateId;
     
    +    @ACL(accessType = AccessType.OperateEntry)
    +    @Parameter(name = ApiConstants.STORAGE_ID,
    +            type = CommandType.UUID,
    +            entityType = StoragePoolResponse.class,
    +            required = false,
    +            description = "storage pool ID of the primary storage pool to which the template
should be prepared. If it is not provided the template" +
    +                    " is prepared on all the available primary storage pools.")
    +    private Long storageId;
    --- End diff --
    
    better to use poolId ou storagePoolId instead of storageId to be consistent 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message