fixup: shorter/conciser comment

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-05-16 16:28:53 +02:00
parent e1afab6e28
commit a357092190

View File

@ -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";
}