public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Fiona Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] applied: [PATCH qemu-server 1/2] print drive commandline: fix indentation
Date: Thu,  5 Dec 2024 15:47:03 +0100	[thread overview]
Message-ID: <20241205144704.69459-1-f.ebner@proxmox.com> (raw)

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


             reply	other threads:[~2024-12-05 14:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-05 14:47 Fiona Ebner [this message]
2024-12-05 14:47 ` [pve-devel] applied: [PATCH qemu-server 2/2] api: create disks: fixup non-ascii comment Fiona Ebner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241205144704.69459-1-f.ebner@proxmox.com \
    --to=f.ebner@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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