From 89de0c272326923c94ee3b82dcad4befef8e1680 Mon Sep 17 00:00:00 2001 From: Allen Conlon Date: Wed, 12 Feb 2025 18:44:42 -0500 Subject: [PATCH] chore: updated func call Signed-off-by: Allen Conlon --- src/internal/agent/hooks/pods.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/agent/hooks/pods.go b/src/internal/agent/hooks/pods.go index 176c30b4aa..0b88a644a9 100644 --- a/src/internal/agent/hooks/pods.go +++ b/src/internal/agent/hooks/pods.go @@ -135,7 +135,7 @@ func mutatePod(ctx context.Context, r *v1.AdmissionRequest, cluster *cluster.Clu if err != nil { return nil, err } - updatedAnnotations[getImageAnnotationKey(volume.Image.Reference)] = volume.Image.Reference + updatedAnnotations[getImageAnnotationKey(ctx, volume.Image.Reference)] = volume.Image.Reference patches = append(patches, operations.ReplacePatchOperation(path, replacement)) } }