Skip to content

Commit 33e3d07

Browse files
committed
wip
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
1 parent d7e21c5 commit 33e3d07

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/ReconcileUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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);

operator-framework-core/src/test/java/io/javaoperatorsdk/operator/api/reconciler/ReconcileUtilsTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)