Skip to content

Commit

Permalink
fixup! NOJIRA Break PodReconciler.Reconcile() into helpers
Browse files Browse the repository at this point in the history
Co-authored-by: João Alves <[email protected]>
  • Loading branch information
miguelbernadi and joaoqalves authored Jan 8, 2024
1 parent 1c09d43 commit 1397a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func (r *PodReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.R
return ctrl.Result{Requeue: true, RequeueAfter: 10 * time.Second}, err
}

r.addToCaches(req.NamespacedName.String(), podImages)
r.addToCache(req.NamespacedName.String(), podImages)

Check failure on line 145 in pkg/controllers/pod.go

View workflow job for this annotation

GitHub Actions / testGo

r.addToCache undefined (type *PodReconciler has no field or method addToCache)

if podScheduledOnMatchingNode {
return ctrl.Result{}, nil
Expand Down

0 comments on commit 1397a0c

Please sign in to comment.