Skip to content

Commit 5e25862

Browse files
committed
fix: owner check redundant
Signed-off-by: csviri <[email protected]>
1 parent 2c5102a commit 5e25862

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: src/main/java/io/csviri/operator/resourceglue/reconciler/glue/GlueReconciler.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ public UpdateControl<Glue> reconcile(Glue primary,
6565
return UpdateControl.noUpdate();
6666
}
6767
addFinalizersToParentResource(primary, context);
68-
if (ownersBeingDeleted(primary, context)) {
69-
return UpdateControl.noUpdate();
70-
}
68+
// if (ownersBeingDeleted(primary, context)) {
69+
// return UpdateControl.noUpdate();
70+
// }
7171
var actualWorkflow = buildWorkflowAndRegisterInformers(primary, context);
7272
var result = actualWorkflow.reconcile(primary, context);
7373
cleanupRemovedResourcesFromWorkflow(context, primary);
@@ -88,7 +88,7 @@ private boolean deletedGlueIfParentMarkedForDeletion(Context<Glue> context, Glue
8888

8989

9090
/**
91-
* If a parent gets deleted, the glue is reconciled still, but we don't want that in that case.
91+
* If a parent gets deleted, the glue is reconciled still, but we don't want it in that case.
9292
* Glue us deleted / marked for deleted eventually by the garbage collector but want to make the
9393
* best effort to prevent that.
9494
*/

0 commit comments

Comments
 (0)