return from Reconcile after Parent ownership set
@@ -106,8 +106,8 @@ func (r *AsyncReconciler) Reconcile(req ctrl.Request, local runtime.Object) (res
if pAccessor, err := meta.Accessor(p.Target); err == nil {
if err := controllerutil.SetControllerReference(pAccessor, res, r.Scheme); err == nil {
//r.Telemetry.LogInfo("status", "handling parent reference for object "+pAccessor.GetName())
- r.Update(ctx, local)
- break
+ return ctrl.Result{}, r.Update(ctx, local)
+
}
}
}
