From ba50416afa9046099b56a3c7051509fc42be1f13 Mon Sep 17 00:00:00 2001 From: Sebastian Bernauer Date: Mon, 25 Mar 2024 11:57:39 +0100 Subject: [PATCH] improve wording --- crates/stackable-operator/src/commons/affinity.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/stackable-operator/src/commons/affinity.rs b/crates/stackable-operator/src/commons/affinity.rs index be05da763..cdd17e51c 100644 --- a/crates/stackable-operator/src/commons/affinity.rs +++ b/crates/stackable-operator/src/commons/affinity.rs @@ -48,9 +48,9 @@ pub struct StackableAffinity { /// /// We `#[serde(flatten)]` the contained [`BTreeMap`], so `serde_yaml` can deserialize everything as /// expected. -// FIXME: However, the generated JsonSchema will be wrong, so we need to use `#[schemars(deny_unknown_fields)]`. -// See https://github.com/stackabletech/operator-rs/pull/752#issuecomment-2017630433 and -// https://github.com/GREsau/schemars/issues/259 for details. +// FIXME: The generated JsonSchema will be wrong, so until https://github.com/GREsau/schemars/issues/259 is fixed, we +// need to use `#[schemars(deny_unknown_fields)]`. +// See https://github.com/stackabletech/operator-rs/pull/752#issuecomment-2017630433 for details. #[derive(Clone, Debug, Eq, Deserialize, JsonSchema, PartialEq, Serialize)] #[serde(rename_all = "camelCase")] #[schemars(deny_unknown_fields)]