Skip to content

Commit 9b9cf33

Browse files
committed
fake remote runtime should call correct method on remove pod sandbox
1 parent 70e2559 commit 9b9cf33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kubelet/remote/fake/fake_runtime.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ func (f *RemoteRuntime) StopPodSandbox(ctx context.Context, req *kubeapi.StopPod
112112
// This call is idempotent, and must not return an error if the sandbox has
113113
// already been removed.
114114
func (f *RemoteRuntime) RemovePodSandbox(ctx context.Context, req *kubeapi.RemovePodSandboxRequest) (*kubeapi.RemovePodSandboxResponse, error) {
115-
err := f.RuntimeService.StopPodSandbox(req.PodSandboxId)
115+
err := f.RuntimeService.RemovePodSandbox(req.PodSandboxId)
116116
if err != nil {
117117
return nil, err
118118
}

0 commit comments

Comments
 (0)