From 1d6913779b1dfb360f020f83b981deed1c1a798f Mon Sep 17 00:00:00 2001 From: Victor Marmol Date: Mon, 27 Apr 2015 14:58:08 -0700 Subject: [PATCH] Use kubecontainer.Pod instead of api.Pod in KillPod. We don't need the full api.Pod and the uses today use kubecontainer.Pod. --- pkg/kubelet/container/runtime.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubelet/container/runtime.go b/pkg/kubelet/container/runtime.go index 60e3c87436b..3dc2f266884 100644 --- a/pkg/kubelet/container/runtime.go +++ b/pkg/kubelet/container/runtime.go @@ -47,7 +47,7 @@ type Runtime interface { // RunPod starts all the containers of a pod within a namespace. RunPod(*api.Pod, map[string]volume.Volume) error // KillPod kills all the containers of a pod. - KillPod(*api.Pod) error + KillPod(pod Pod) error // RunContainerInPod starts a container within the same namespace of a pod. RunContainerInPod(api.Container, *api.Pod, map[string]volume.Volume) error // KillContainerInPod kills a container in the pod.