Skip to content

Commit b37c416

Browse files
committed
chore: Remove outdated dev comment
1 parent 6a53852 commit b37c416

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

  • crates/stackable-operator/src/crd/scaler

crates/stackable-operator/src/crd/scaler/mod.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,6 @@ pub struct ScalerStatus {
5757
pub last_transition_time: Time,
5858
}
5959

60-
// We use `#[serde(tag)]` and `#[serde(content)]` here to circumvent Kubernetes restrictions in their
61-
// structural schema subset of OpenAPI schemas. They don't allow one variant to be typed as a string
62-
// and others to be typed as objects. We therefore encode the variant data in a separate details
63-
// key/object. With this, all variants can be encoded as strings, while the status can still contain
64-
// additional data in an extra field when needed.
6560
#[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize, JsonSchema, strum::Display)]
6661
#[serde(rename_all = "camelCase", rename_all_fields = "camelCase")]
6762
#[strum(serialize_all = "camelCase")]

0 commit comments

Comments
 (0)