diff --git a/pkg/foghorn/controller.go b/pkg/foghorn/controller.go index 7cdf819ca..06434165c 100644 --- a/pkg/foghorn/controller.go +++ b/pkg/foghorn/controller.go @@ -130,7 +130,7 @@ func (r *LighthouseJobReconciler) Reconcile(ctx context.Context, req ctrl.Reques } return nil } - if err := r.retryModifyJob(ctx, req.NamespacedName, jobCopy, f); err != nil { + if err := r.retryModifyJob(ctx, req.NamespacedName, &job, f); err != nil { r.logger.Errorf("Failed to update LighthouseJob status: %s", err) return ctrl.Result{}, err }