Skip to content

Commit 46bfb80

Browse files
committed
comment, and improvements
1 parent 014fff3 commit 46bfb80

File tree

1 file changed

+1
-2
lines changed
  • operator-framework/src/main/java/com/github/containersolutions/operator/processing

1 file changed

+1
-2
lines changed

operator-framework/src/main/java/com/github/containersolutions/operator/processing/EventScheduler.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,8 @@ void scheduleEvent(CustomResourceEvent event) {
8080
try {
8181
lock.lock();
8282
if (event.getAction() == Action.DELETED) {
83+
// we might want to have a state check here that only an event is scheduled for delete.
8384
log.debug("Received delete action for event: {}", event);
84-
//
85-
// should we still check if its a retry for a "marked for deletion" modification event?
8685
return;
8786
}
8887
if (eventStore.processedNewerVersionBefore(event)) {

0 commit comments

Comments
 (0)