return status update error
@@ -83,12 +83,10 @@ func (r *AsyncReconciler) Reconcile(req ctrl.Request, local runtime.Object) (res
// update the status of the resource in kubernetes
status.Message = "Waiting for secretclient keyvault to be available"
+
err = r.Status().Update(ctx, local)
- if err != nil {
- r.Telemetry.LogInfoByInstance("status", "failed updating status", req.String())
- }
- return ctrl.Result{RequeueAfter: requeDuration}, nil
+ return ctrl.Result{RequeueAfter: requeDuration}, err
}
}
