Skip to content

Commit 791c61c

Browse files
authored
docs: Add FIXME comment on wrong CRD status field casing (#1016)
* docs: Add FIXME comment on wrong CRD status field casing * reword
1 parent 77afe76 commit 791c61c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • rust/operator-binary/src/crd

‎rust/operator-binary/src/crd/mod.rs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,9 @@ impl Deref for NifiRole {
243243
}
244244

245245
#[derive(Clone, Debug, Default, Deserialize, JsonSchema, Serialize)]
246+
// #[serde(rename_all = "camelCase")] // FIXME: See FIXME comment below
246247
pub struct NifiStatus {
248+
// FIXME: We should change the field name to `deployedVersion` instead.
247249
pub deployed_version: Option<ProductVersion>,
248250
#[serde(default)]
249251
pub conditions: Vec<ClusterCondition>,

0 commit comments

Comments
 (0)