DaanHoogland commented on code in PR #11351:
URL: https://github.com/apache/cloudstack/pull/11351#discussion_r2242656968
##########
plugins/storage/volume/storpool/src/main/java/com/cloud/hypervisor/kvm/resource/wrapper/StorPoolDownloadTemplateCommandWrapper.java:
##########
@@ -103,9 +103,10 @@ public CopyCmdAnswer execute(final
StorPoolDownloadTemplateCommand cmd, final Li
final QemuImgFile srcFile = new QemuImgFile(srcDisk.getPath(),
srcDisk.getFormat());
final QemuImg qemu = new QemuImg(cmd.getWaitInMillSeconds());
- StorPoolStorageAdaptor.resize(
Long.toString(srcDisk.getVirtualSize()), dst.getPath());
if (dst instanceof TemplateObjectTO) {
+ StorPoolStorageAdaptor.resize(
Long.toString(srcDisk.getVirtualSize()), dst.getPath());
+
Review Comment:
very sensible comment @Copilot, but it has nothing to do with the changes at
hand.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]