From e02c6994dc3aaa9dd1079289f9eb9d5d94a4fddf Mon Sep 17 00:00:00 2001 From: Yifan Gu Date: Mon, 23 Mar 2015 18:23:31 -0700 Subject: [PATCH] kubelet.container: Fix volume map type. --- pkg/kubelet/container/runtime.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/kubelet/container/runtime.go b/pkg/kubelet/container/runtime.go index a48409edd45..5d0ae92fc65 100644 --- a/pkg/kubelet/container/runtime.go +++ b/pkg/kubelet/container/runtime.go @@ -35,11 +35,11 @@ type Runtime interface { // exited and dead containers (used for garbage collection). GetPods(all bool) ([]*Pod, error) // RunPod starts all the containers of a pod within a namespace. - RunPod(*api.Pod, map[string]volume.VolumePlugin) error + RunPod(*api.Pod, map[string]volume.Volume) error // KillPod kills all the containers of a pod. KillPod(*api.Pod) error // RunContainerInPod starts a container within the same namespace of a pod. - RunContainerInPod(api.Container, *api.Pod, map[string]volume.VolumePlugin) error + RunContainerInPod(api.Container, *api.Pod, map[string]volume.Volume) error // KillContainerInPod kills a container in the pod. KillContainerInPod(api.Container, *api.Pod) error // GetPodStatus retrieves the status of the pod, including the information of