Skip to content

Commit 78c633a

Browse files
committed
🔊 logs
modified: controllers/pod_controller_functions.go
1 parent d5495be commit 78c633a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controllers/pod_controller_functions.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ func (r *PodReconciler) UpdateKubeObject(pod client.Object, ctx context.Context)
3636
if apierrors.IsConflict(err) {
3737
// The Pod has been updated since we read it.
3838
// Requeue the Pod to try to reconciliate again.
39-
return ctrl.Result{RequeueAfter: 10 * time.Second}, err
39+
return ctrl.Result{RequeueAfter: 10 * time.Second}, nil
4040
}
4141
if apierrors.IsNotFound(err) {
4242
// The Pod has been deleted since we read it.
4343
// Requeue the Pod to try to reconciliate again.
44-
return ctrl.Result{}, err
44+
return ctrl.Result{}, nil
4545
}
4646
log.Error(err, "unable to update pod")
4747
return ctrl.Result{}, err

0 commit comments

Comments
 (0)