Skip to content

Commit d145562

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

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
@@ -579,7 +579,6 @@ void latestDistinctListHandlesEmptyStream() {
579579
Stream.<HasMetadata>empty().collect(ReconcileUtils.latestDistinctList());
580580

581581
assertThat(result).isEmpty();
582-
assertThat(result).isInstanceOf(List.class);
583582
}
584583

585584
@Test
@@ -588,7 +587,6 @@ void latestDistinctSetHandlesEmptyStream() {
588587
Stream.<HasMetadata>empty().collect(ReconcileUtils.latestDistinctSet());
589588

590589
assertThat(result).isEmpty();
591-
assertThat(result).isInstanceOf(Set.class);
592590
}
593591

594592
}

0 commit comments

Comments
 (0)