From 89f1edd5169316ff979639e4a031e4c5d112af13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanislav=20L=C3=A1zni=C4=8Dka?= Date: Tue, 1 Jul 2025 11:00:43 +0200 Subject: [PATCH] kubelet/image_manager: rename EnsureImageExists arguments at the interface level MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These were previously only renamed at the implementation and the interface itself was forgotten about. Signed-off-by: Stanislav Láznička --- pkg/kubelet/images/types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/kubelet/images/types.go b/pkg/kubelet/images/types.go index 244451cf5fc..c37d0a554bc 100644 --- a/pkg/kubelet/images/types.go +++ b/pkg/kubelet/images/types.go @@ -47,8 +47,8 @@ var ( // Implementations are expected to abstract the underlying runtimes. // Implementations are expected to be thread safe. type ImageManager interface { - // EnsureImageExists ensures that image specified by `imgRef` exists. - EnsureImageExists(ctx context.Context, objRef *v1.ObjectReference, pod *v1.Pod, imgRef string, pullSecrets []v1.Secret, podSandboxConfig *runtimeapi.PodSandboxConfig, podRuntimeHandler string, pullPolicy v1.PullPolicy) (string, string, error) + // EnsureImageExists ensures that image specified by `requestedImage` exists. + EnsureImageExists(ctx context.Context, objRef *v1.ObjectReference, pod *v1.Pod, requestedImage string, pullSecrets []v1.Secret, podSandboxConfig *runtimeapi.PodSandboxConfig, podRuntimeHandler string, pullPolicy v1.PullPolicy) (imageRef, message string, err error) // TODO(ronl): consolidating image managing and deleting operation in this interface }