From 176fc9b9c6f950926d3f56b262f1cc9e48d1aad4 Mon Sep 17 00:00:00 2001 From: Yu-Ju Hong Date: Thu, 30 Apr 2015 09:33:23 -0700 Subject: [PATCH] Remove GetContainers from Runtime interface This function is no longer considered needed. --- pkg/kubelet/container/runtime.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/kubelet/container/runtime.go b/pkg/kubelet/container/runtime.go index c322569deba..7c093a3ddf7 100644 --- a/pkg/kubelet/container/runtime.go +++ b/pkg/kubelet/container/runtime.go @@ -55,10 +55,6 @@ type Runtime interface { // GetPodStatus retrieves the status of the pod, including the information of // all containers in the pod. GetPodStatus(*api.Pod) (api.PodStatus, error) - // GetContainers returns all containers on the node, including those are - // not managed by kubelet. If 'all' is false, then only running containers - // are returned. - GetContainers(all bool) ([]*Container, error) // TODO(vmarmol): Merge RunInContainer and ExecInContainer. // Runs the command in the container of the specified pod using nsinit. // TODO(yifan): Use strong type for containerID.