File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
operator-framework/src/main/java/com/github/containersolutions/operator/processing Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -76,8 +76,8 @@ void scheduleEvent(CustomResourceEvent event) {
76
76
try {
77
77
lock .lock ();
78
78
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).
81
81
// We want to skip in case of finalizer was there since we don't want to execute delete method always at least 2x,
82
82
// which would be the result if we don't skip here. (If there is no deletion timestamp if resource deleted without finalizer.
83
83
log .debug ("Skipping delete event since deletion timestamp is present on resource, so finalizer was in place." );
You can’t perform that action at this time.
0 commit comments