mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fix trailing whitespace.
This commit is contained in:
parent
a26c81178b
commit
16a9171f55
@ -723,7 +723,7 @@ public class TemplateServiceImpl implements TemplateService {
|
|||||||
@Override
|
@Override
|
||||||
public AsyncCallFuture<TemplateApiResult> copyTemplate(TemplateInfo srcTemplate, DataStore destStore) {
|
public AsyncCallFuture<TemplateApiResult> copyTemplate(TemplateInfo srcTemplate, DataStore destStore) {
|
||||||
// for vmware template, we need to check if ova packing is needed, since template created from snapshot does not have .ova file
|
// for vmware template, we need to check if ova packing is needed, since template created from snapshot does not have .ova file
|
||||||
// we invoke createEntityExtractURL to trigger ova packing. Ideally, we can directly use extractURL to pass to following createTemplate.
|
// we invoke createEntityExtractURL to trigger ova packing. Ideally, we can directly use extractURL to pass to following createTemplate.
|
||||||
// Need to understand what is the background to use two different urls for copy and extract.
|
// Need to understand what is the background to use two different urls for copy and extract.
|
||||||
if (srcTemplate.getFormat() == ImageFormat.OVA){
|
if (srcTemplate.getFormat() == ImageFormat.OVA){
|
||||||
ImageStoreEntity tmpltStore = (ImageStoreEntity)srcTemplate.getDataStore();
|
ImageStoreEntity tmpltStore = (ImageStoreEntity)srcTemplate.getDataStore();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user