public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Christoph Heiss <c.heiss@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH installer 2/2] tree-wide: run `cargo fmt`
Date: Tue,  3 Dec 2024 11:15:18 +0100	[thread overview]
Message-ID: <20241203101542.261333-3-c.heiss@proxmox.com> (raw)
In-Reply-To: <20241203101542.261333-1-c.heiss@proxmox.com>

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
---
 proxmox-installer-common/src/options.rs | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/proxmox-installer-common/src/options.rs b/proxmox-installer-common/src/options.rs
index 6ec7d5c..9720804 100644
--- a/proxmox-installer-common/src/options.rs
+++ b/proxmox-installer-common/src/options.rs
@@ -33,11 +33,20 @@ pub enum ZfsRaidLevel {
     Raid1,
     #[serde(alias = "RAID10")]
     Raid10,
-    #[serde(alias = "RAIDZ-1", rename(deserialize = "raidz-1", serialize = "RAIDZ-1"))]
+    #[serde(
+        alias = "RAIDZ-1",
+        rename(deserialize = "raidz-1", serialize = "RAIDZ-1")
+    )]
     RaidZ,
-    #[serde(alias = "RAIDZ-2", rename(deserialize = "raidz-2", serialize = "RAIDZ-2"))]
+    #[serde(
+        alias = "RAIDZ-2",
+        rename(deserialize = "raidz-2", serialize = "RAIDZ-2")
+    )]
     RaidZ2,
-    #[serde(alias = "RAIDZ-3", rename(deserialize = "raidz-3", serialize = "RAIDZ-3"))]
+    #[serde(
+        alias = "RAIDZ-3",
+        rename(deserialize = "raidz-3", serialize = "RAIDZ-3")
+    )]
     RaidZ3,
 }
 
-- 
2.47.0



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


  parent reply	other threads:[~2024-12-03 10:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-03 10:15 [pve-devel] [PATCH installer 0/2] fix rustdoc warnings Christoph Heiss
2024-12-03 10:15 ` [pve-devel] [PATCH installer 1/2] tree-wide: " Christoph Heiss
2024-12-03 10:15 ` Christoph Heiss [this message]
2024-12-03 17:16 ` [pve-devel] applied-series: [PATCH installer 0/2] " Thomas Lamprecht

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=20241203101542.261333-3-c.heiss@proxmox.com \
    --to=c.heiss@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