Skip to content

Commit 602ab2e

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ public Optional<R> get(ResourceID resourceID) {
202202
log.debug("Latest resource found in temporary cache for Resource ID: {}", resourceID);
203203
return resource;
204204
} else {
205+
// this needs to happen after comparison to ensure correctness
205206
var resFromInformer = cache.get(resourceID);
206207
log.debug(
207208
"Resource found in temp cache: {}, or older, in temporary cache. Found in informer cache"

0 commit comments

Comments
 (0)