From 4a876e21bce30f4aa0444456a354aae2ef85e0d4 Mon Sep 17 00:00:00 2001 From: champly Date: Thu, 21 Nov 2024 11:10:48 +0800 Subject: [PATCH] fix: params typo Signed-off-by: champly --- staging/src/k8s.io/cri-api/pkg/apis/services.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staging/src/k8s.io/cri-api/pkg/apis/services.go b/staging/src/k8s.io/cri-api/pkg/apis/services.go index 2d56783ab08..03a068c4224 100644 --- a/staging/src/k8s.io/cri-api/pkg/apis/services.go +++ b/staging/src/k8s.io/cri-api/pkg/apis/services.go @@ -72,7 +72,7 @@ type PodSandboxManager interface { RunPodSandbox(ctx context.Context, config *runtimeapi.PodSandboxConfig, runtimeHandler string) (string, error) // StopPodSandbox stops the sandbox. If there are any running containers in the // sandbox, they should be force terminated. - StopPodSandbox(pctx context.Context, odSandboxID string) error + StopPodSandbox(ctx context.Context, podSandboxID string) error // RemovePodSandbox removes the sandbox. If there are running containers in the // sandbox, they should be forcibly removed. RemovePodSandbox(ctx context.Context, podSandboxID string) error