Skip to content

Commit 79ec1c7

Browse files
hsato03Copilot
andcommitted
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 7087d4d commit 79ec1c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1619,7 +1619,7 @@ to support snapshots(backuped) as qcow2 files. */
16191619
destFile = new QemuImgFile(destPath, destFormat);
16201620
try {
16211621
boolean isQCOW2 = PhysicalDiskFormat.QCOW2.equals(sourceFormat);
1622-
qemu.convert(srcFile, destFile, null, null, null, new QemuImageOptions(srcFile.getFormat(), srcFile.getFileName(), null),
1622+
qemu.convert(srcFile, destFile, null, null, null, new QemuImageOptions(srcFile.getFormat(), srcFile.getFileName(), null),
16231623
null, false, isQCOW2);
16241624
Map<String, String> destInfo = qemu.info(destFile);
16251625
Long virtualSize = Long.parseLong(destInfo.get(QemuImg.VIRTUAL_SIZE));

0 commit comments

Comments
 (0)