Skip to content

Commit e5e1616

Browse files
committed
🚑 fix error reqeue
modified: controllers/pod_controller_functions.go
1 parent 74575cf commit e5e1616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/pod_controller_functions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func (r *PodReconciler) UpdateKubeObject(pod client.Object, ctx context.Context)
7777
return ctrl.Result{}, nil
7878
}
7979
log.Error(err, "unable to update pod")
80-
return ctrl.Result{}, nil
80+
return ctrl.Result{}, err
8181
}
8282
return ctrl.Result{RequeueAfter: 10 * time.Second}, nil
8383
}

0 commit comments

Comments
 (0)