Skip to content

Commit 12aadc7

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

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,6 @@ public Optional<R> get(ResourceID resourceID) {
196196
var res = cache.get(resourceID);
197197
if (comparableResourceVersions
198198
&& resource.isPresent()
199-
// it can happen here that we receive an event after we read the resource from the informer
200-
// cache that bumps the lastSync version, but we read the resource before. In that case we
201-
// want to return the resource from temp cache.
202199
&& (res.isEmpty()
203200
|| ReconcilerUtilsInternal.compareResourceVersions(
204201
resource.get().getMetadata().getResourceVersion(),

0 commit comments

Comments
 (0)