Skip to content

Commit c856801

Browse files
authored
Apply suggestions from code review
1 parent 920d6aa commit c856801

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

kube-core/src/schema/transform_any_of.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,5 @@ pub(crate) fn hoist_any_of_subschema_with_a_nullable_variant(kube_schema: &mut S
214214
*kube_schema = to_hoist;
215215

216216
// Set the schema to nullable (as we know we matched the null variant earlier)
217-
// TODO (@NickLarsenNZ): Do we need to insert `nullable` into `other` too?
218217
kube_schema.extensions.insert("nullable".to_owned(), true.into());
219218
}

kube-derive/tests/crd_mixed_enum_test.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,6 @@ fn valid_enum_4() {
269269
fn invalid_enum_5() {
270270
InvalidEnum5::crd();
271271
}
272-
273-
274272
#[test]
275273
fn valid_enum_6() {
276274
assert_json_eq!(

0 commit comments

Comments
 (0)