From 9437326146ed04a74cbb9ded6cc0c00fca83cabd Mon Sep 17 00:00:00 2001 From: mulhern Date: Fri, 20 Dec 2024 17:05:10 -0500 Subject: [PATCH] Change for serialization for IntegrityTagSpec Have the string representation match that for D-Bus API. Signed-off-by: mulhern --- src/engine/types/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/types/mod.rs b/src/engine/types/mod.rs index 09c013a4d3..a7e00fdb0e 100644 --- a/src/engine/types/mod.rs +++ b/src/engine/types/mod.rs @@ -505,10 +505,13 @@ pub enum StratSigblockVersion { )] pub enum IntegrityTagSpec { #[strum(serialize = "0b")] + #[serde(rename = "0b")] B0, #[strum(serialize = "32b")] + #[serde(rename = "32b")] B32, #[strum(serialize = "512b")] + #[serde(rename = "512b")] B512, }