* [PATCH ve-rs] sdn: fabrics: fix FabricDeletableProperties serialization
@ 2026-05-20 15:08 Gabriel Goller
0 siblings, 0 replies; only message in thread
From: Gabriel Goller @ 2026-05-20 15:08 UTC (permalink / raw)
To: pve-devel
Keep the top-level FabricDeletableProperties enum externally tagged so
common delete fields like ip_prefix and ip6_prefix serialize/deserialize
as their snake_case names.
This matters now, because ip_prefix and ip6_prefix are now deletable.
Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
---
proxmox-ve-config/src/sdn/fabric/section_config/fabric.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/proxmox-ve-config/src/sdn/fabric/section_config/fabric.rs b/proxmox-ve-config/src/sdn/fabric/section_config/fabric.rs
index efa186a8f0df..68c5923293b6 100644
--- a/proxmox-ve-config/src/sdn/fabric/section_config/fabric.rs
+++ b/proxmox-ve-config/src/sdn/fabric/section_config/fabric.rs
@@ -307,7 +307,7 @@ impl Updater for FabricUpdater {
/// Deletable properties for a [`FabricSection<T>`]
#[derive(Debug, Clone, Serialize, Deserialize)]
-#[serde(rename_all = "snake_case", untagged)]
+#[serde(rename_all = "snake_case")]
pub enum FabricDeletableProperties<T> {
IpPrefix,
Ip6Prefix,
--
2.47.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-20 15:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-20 15:08 [PATCH ve-rs] sdn: fabrics: fix FabricDeletableProperties serialization Gabriel Goller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.