[pve-devel] [PATCH installer 2/2] tree-wide: run `cargo fmt`

Christoph Heiss c.heiss at proxmox.com
Tue Dec 3 11:15:18 CET 2024


Signed-off-by: Christoph Heiss <c.heiss at 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





More information about the pve-devel mailing list