public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] applied: [PATCH qemu-server 1/2] print drive commandline: fix indentation
@ 2024-12-05 14:47 Fiona Ebner
  2024-12-05 14:47 ` [pve-devel] applied: [PATCH qemu-server 2/2] api: create disks: fixup non-ascii comment Fiona Ebner
  0 siblings, 1 reply; 2+ messages in thread
From: Fiona Ebner @ 2024-12-05 14:47 UTC (permalink / raw)
  To: pve-devel

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
 PVE/QemuServer.pm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index db06f847..4d3af617 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -1552,7 +1552,7 @@ sub print_drive_commandline_full {
 
     if (drive_is_cdrom($drive)) {
 	$path = get_iso_path($storecfg, $vmid, $volid);
-        die "$drive_id: cannot back cdrom drive with a live restore image\n" if $live_restore_name;
+	die "$drive_id: cannot back cdrom drive with a live restore image\n" if $live_restore_name;
     } else {
 	if ($storeid) {
 	    $path = PVE::Storage::path($storecfg, $volid);
@@ -1561,9 +1561,9 @@ sub print_drive_commandline_full {
 	    $path = $volid;
 	    $format //= "raw";
 	}
-   }
+    }
 
-   my $is_rbd = $path =~ m/^rbd:/;
+    my $is_rbd = $path =~ m/^rbd:/;
 
     my $opts = '';
     my @qemu_drive_options = qw(heads secs cyls trans media cache rerror werror aio discard);
-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-05 14:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-05 14:47 [pve-devel] applied: [PATCH qemu-server 1/2] print drive commandline: fix indentation Fiona Ebner
2024-12-05 14:47 ` [pve-devel] applied: [PATCH qemu-server 2/2] api: create disks: fixup non-ascii comment Fiona Ebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal