You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2019/05/24 10:02:10 UTC

[GitHub] [cloudstack] DaanHoogland commented on a change in pull request #3215: [WIP DO NOT MERGE] storage: post process locally uploaded multi-disk ova template

DaanHoogland commented on a change in pull request #3215: [WIP DO NOT MERGE] storage: post process locally uploaded multi-disk ova template
URL: https://github.com/apache/cloudstack/pull/3215#discussion_r287295828
 
 

 ##########
 File path: server/src/main/java/com/cloud/storage/ImageStoreUploadMonitorImpl.java
 ##########
 @@ -395,6 +404,20 @@ public void doInTransactionWithoutResult(TransactionStatus status) {
                             VMTemplateVO templateUpdate = _templateDao.createForUpdate();
                             templateUpdate.setSize(answer.getVirtualSize());
                             _templateDao.update(tmpTemplate.getId(), templateUpdate);
+                            // For multi-disk OVA, check and create data disk templates
 
 Review comment:
   i see the same commen t in three places. Is this eligible for a refactor as overloaded method?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services