Skip to content

Commit 21789ee

Browse files
committed
fix
Signed-off-by: Attila Mészáros <[email protected]>
1 parent d4e9708 commit 21789ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/source/informer/InformerEventSource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ public Set<R> getSecondaryResources(P primary) {
278278
.collect(Collectors.toSet());
279279
complementaryIds.forEach(
280280
id -> {
281-
Optional<R> resource = temporaryResourceCache.getResourceFromCache(id);
281+
Optional<R> resource = get(id);
282282
resource.ifPresent(res::add);
283283
});
284284
return res;

operator-framework/src/test/java/io/javaoperatorsdk/operator/dependent/dependentresourcecrossref/DependentResourceCrossRefIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
class DependentResourceCrossRefIT {
1717

1818
public static final String TEST_RESOURCE_NAME = "test";
19-
public static final int EXECUTION_NUMBER = 50;
19+
public static final int EXECUTION_NUMBER = 150;
2020

2121
@RegisterExtension
2222
LocallyRunOperatorExtension operator =

0 commit comments

Comments
 (0)