Skip to content

Commit 35d904d

Browse files
committed
fix: event marking bug
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
1 parent 29cd363 commit 35d904d

File tree

1 file changed

+1
-1
lines changed
  • operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event

1 file changed

+1
-1
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/EventProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ private void handleEventMarking(Event event, ResourceState state) {
196196
// event as below.
197197
markEventReceived(state);
198198
}
199-
} else if (!state.deleteEventPresent() || !state.processedMarkForDeletionPresent()) {
199+
} else if (!state.deleteEventPresent() && !state.processedMarkForDeletionPresent()) {
200200
markEventReceived(state);
201201
} else if (log.isDebugEnabled()) {
202202
log.debug(

0 commit comments

Comments
 (0)