From cf431775b753aa223264cd9754e6120d9ae18a4b Mon Sep 17 00:00:00 2001 From: Sebastian Bernauer Date: Thu, 29 Oct 2026 10:27:26 +0100 Subject: [PATCH 1/2] docs: Add FIXME comment on wrong CRD status field casing --- rust/operator-binary/src/crd/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rust/operator-binary/src/crd/mod.rs b/rust/operator-binary/src/crd/mod.rs index 863eb4ea..61ccde4c 100644 --- a/rust/operator-binary/src/crd/mod.rs +++ b/rust/operator-binary/src/crd/mod.rs @@ -243,7 +243,10 @@ impl Deref for NifiRole { } #[derive(Clone, Debug, Default, Deserialize, JsonSchema, Serialize)] +// FIXME: See FIXME comment below +// #[serde(rename_all = "camelCase")] pub struct NifiStatus { + // FIXME: We should change the field name to `deployedVersion` instead. pub deployed_version: Option, #[serde(default)] pub conditions: Vec, From 684b6143f2ce52572200fd914a636568cb1ea7ec Mon Sep 17 00:00:00 2001 From: Sebastian Bernauer Date: Thu, 29 Oct 2026 10:30:04 +0100 Subject: [PATCH 2/2] reword --- rust/operator-binary/src/crd/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rust/operator-binary/src/crd/mod.rs b/rust/operator-binary/src/crd/mod.rs index 61ccde4c..d75eac9b 100644 --- a/rust/operator-binary/src/crd/mod.rs +++ b/rust/operator-binary/src/crd/mod.rs @@ -243,8 +243,7 @@ impl Deref for NifiRole { } #[derive(Clone, Debug, Default, Deserialize, JsonSchema, Serialize)] -// FIXME: See FIXME comment below -// #[serde(rename_all = "camelCase")] +// #[serde(rename_all = "camelCase")] // FIXME: See FIXME comment below pub struct NifiStatus { // FIXME: We should change the field name to `deployedVersion` instead. pub deployed_version: Option,