File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
operator-framework-core/src
main/java/io/javaoperatorsdk/operator/api/reconciler
test/java/io/javaoperatorsdk/operator/api/reconciler Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -377,7 +377,7 @@ public static <R extends HasMetadata> R resourcePatch(
377377 log .warn (
378378 "Multiple event sources found for type: {}, selecting first with name {}" ,
379379 resource .getClass (),
380- log . isWarnEnabled () ? es .name () : null );
380+ es .name ());
381381 }
382382 if (es instanceof ManagedInformerEventSource mes ) {
383383 return resourcePatch (resource , updateOperation , mes );
Original file line number Diff line number Diff line change @@ -694,7 +694,6 @@ void latestDistinctListHandlesEmptyStream() {
694694 Stream .<HasMetadata >empty ().collect (ReconcileUtils .latestDistinctList ());
695695
696696 assertThat (result ).isEmpty ();
697- assertThat (result ).isInstanceOf (List .class );
698697 }
699698
700699 @ Test
@@ -703,7 +702,6 @@ void latestDistinctSetHandlesEmptyStream() {
703702 Stream .<HasMetadata >empty ().collect (ReconcileUtils .latestDistinctSet ());
704703
705704 assertThat (result ).isEmpty ();
706- assertThat (result ).isInstanceOf (Set .class );
707705 }
708706
709707 // naive performance test that compares the work case scenario for the parsing and non-parsing
You can’t perform that action at this time.
0 commit comments