Skip to content

Commit 8e8f36f

Browse files
committed
pod_reconciler: Don't log pod not found err
1 parent d5d6c7e commit 8e8f36f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/ext-proc/backend/pod_reconciler.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ func (c *PodReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.R
3737

3838
pod := &corev1.Pod{}
3939
if err := c.Get(ctx, req.NamespacedName, pod); err != nil {
40-
logger.V(logutil.DEFAULT).Error(err, "Unabled to get pod", "name", req.NamespacedName)
4140
if apierrors.IsNotFound(err) {
4241
c.Datastore.pods.Delete(pod)
4342
return ctrl.Result{}, nil
4443
}
44+
logger.V(logutil.DEFAULT).Error(err, "Unable to get pod", "name", req.NamespacedName)
4545
return ctrl.Result{}, err
4646
}
4747

0 commit comments

Comments
 (0)