Skip to content

Commit aeffc77

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

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,8 @@ public Optional<R> get(ResourceID resourceID) {
202202
if (comparableResourceVersions
203203
&& resource.isPresent()
204204
// it can happen here that we receive an event after we read the resource from the informer
205-
// cache
206-
// that bumps the lastSync version, but we read the resource before. In that case we want to
207-
// return
208-
// the resource from temp cache.
205+
// cache that bumps the lastSync version, but we read the resource before. In that case we
206+
// want to return the resource from temp cache.
209207
&& (res.isEmpty()
210208
|| ReconcilerUtilsInternal.compareResourceVersions(
211209
resource.get().getMetadata().getResourceVersion(),

0 commit comments

Comments
 (0)