From 1c09d4336ed3ee3e86fd3b608e864620515c87f9 Mon Sep 17 00:00:00 2001 From: Miguel Bernabeu Diaz Date: Mon, 8 Jan 2024 09:58:55 +0100 Subject: [PATCH] fixup! NOJIRA Break PodReconciler.Reconcile() into helpers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: João Alves --- pkg/controllers/pod.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controllers/pod.go b/pkg/controllers/pod.go index 772466b..1bbf45d 100644 --- a/pkg/controllers/pod.go +++ b/pkg/controllers/pod.go @@ -252,7 +252,7 @@ func (r *PodReconciler) addToCaches(namespacedName string, podImages []string) { r.podImages[namespacedName] = podImages } -func (r *PodReconciler) checkImageCached(namespacedName string) bool { +func (r *PodReconciler) isImageCached(namespacedName string) bool { _, ok := r.podImages[namespacedName] return ok }