Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e73c98e

Browse files
authoredDec 28, 2022
fix: remove exception on delete event (#1681)
1 parent 53a553e commit e73c98e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/source/controller/ControllerResourceEventSource.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ private boolean isAcceptedByFilters(ResourceAction action, T resource, T oldReso
9494
return onAddFilter == null || onAddFilter.accept(resource);
9595
case UPDATED:
9696
return onUpdateFilter.accept(resource, oldResource);
97-
case DELETED:
98-
throw new IllegalStateException("Should not be called with " + action);
9997
}
10098
return true;
10199
}

0 commit comments

Comments
 (0)
Please sign in to comment.