From a357092190390d2e63cbcf95752adba5e92f917d Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 16 May 2019 16:28:53 +0200 Subject: [PATCH] fixup: shorter/conciser comment Signed-off-by: Thomas Lamprecht --- PVE/QemuServer.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index d6e065e..919c562 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -6925,9 +6925,7 @@ sub clone_disk { if (drive_is_cloudinit($drive)) { $name = "vm-$newvmid-cloudinit"; $snapname = undef; - # accept any format when cloning that's supported by QEMU_FORMAT_RE - # if it is not supported by QEMU_FORMAT_RE we do not reach here as - # it is recognized as cdrom, not cloudinit + # we only get here if it's supported by QEMU_FORMAT_RE, so just accept if ($dst_format ne 'raw') { $name .= ".$dst_format"; } -- 2.39.2