Skip to content

Commit 1cc04d7

Browse files
committed
wip
Signed-off-by: Attila Mészáros <[email protected]>
1 parent 8f69a5e commit 1cc04d7

File tree

1 file changed

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

1 file changed

+1
-6
lines changed

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -501,13 +501,8 @@ public void run() {
501501
.filter(ResourceState::deleteEventPresent)
502502
.map(ResourceState::getLastKnownResource);
503503
if (actualResource.isEmpty()) {
504-
log.debug(
505-
"Skipping execution; delete event resource not found in state: {}", resourceID);
506-
return;
504+
throw new IllegalStateException("This should not happen");
507505
}
508-
} else {
509-
log.debug("Skipping execution; primary resource missing from cache: {}", resourceID);
510-
return;
511506
}
512507
}
513508
actualResource.ifPresent(executionScope::setResource);

0 commit comments

Comments
 (0)