Skip to content

Commit ee0e62c

Browse files
authored
fix typo in text
1 parent 2c2f778 commit ee0e62c

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ void scheduleEvent(CustomResourceEvent event) {
7676
try {
7777
lock.lock();
7878
if (event.getResource().getMetadata().getDeletionTimestamp() != null && event.getAction() == Action.DELETED) {
79-
// Not that we always use finalizers, we want to process delete event just in corner case,
80-
// when we are not able to add finalizer (lets say because of optimistic error, and the resource was deleted instantly).
79+
// Note that we always use finalizers, we want to process delete event just in corner case,
80+
// when we are not able to add finalizer (lets say because of optimistic locking error, and the resource was deleted instantly).
8181
// We want to skip in case of finalizer was there since we don't want to execute delete method always at least 2x,
8282
// which would be the result if we don't skip here. (If there is no deletion timestamp if resource deleted without finalizer.
8383
log.debug("Skipping delete event since deletion timestamp is present on resource, so finalizer was in place.");

0 commit comments

Comments
 (0)