Skip to content

Commit aba17bc

Browse files
committed
remove schemars workarounds
1 parent f39b11c commit aba17bc

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

  • rust/operator-binary/src/crd

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,6 @@ pub mod versioned {
184184
/// NiFi 1.x requires ZooKeeper.
185185
zookeeper_config_map_name: String,
186186
},
187-
// Workaround for https://github.com/kube-rs/kube/issues/1941
188-
// TODO revert this before merging!
189-
#[schemars(schema_with = "empty_schema")]
190187
Kubernetes {},
191188
}
192189
}
@@ -547,9 +544,3 @@ impl Default for NifiNodeRoleConfig {
547544
fn node_default_listener_class() -> String {
548545
"cluster-internal".to_string()
549546
}
550-
551-
// Workaround for https://github.com/kube-rs/kube/issues/1941
552-
// TODO revert this before merging!
553-
fn empty_schema(_: &mut schemars::generate::SchemaGenerator) -> schemars::Schema {
554-
schemars::json_schema!({})
555-
}

0 commit comments

Comments
 (0)