File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
operator-framework-core/src/main/java/io/javaoperatorsdk/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 @@ -91,8 +91,8 @@ private PostExecutionControl handleDispatch(ExecutionScope<R> executionScope) {
91
91
92
92
private PostExecutionControl handleCreateOrUpdate (
93
93
ExecutionScope <R > executionScope , R resource , Context <R > context ) {
94
- if (!resource .hasFinalizer (resourceFinalizer ) && ! resource . isMarkedForDeletion () ) {
95
- /* We always add the finalizer if missing and not marked for deletion .
94
+ if (!resource .hasFinalizer (resourceFinalizer )) {
95
+ /* We always add the finalizer if missing.
96
96
We execute the controller processing only for processing the event sent as a results
97
97
of the finalizer add. This will make sure that the resources are not created before
98
98
there is a finalizer.
You can’t perform that action at this time.
0 commit comments