Remove unused type DockerContainers.

Type DockerContainers and function FindPodContainer() are never used.
Remove them to simplify the docker runtime api.
This commit is contained in:
Lantao Liu
2015-11-01 18:49:05 -08:00
parent 5881c3c848
commit b127901871
3 changed files with 11 additions and 15 deletions

View File

@@ -356,7 +356,7 @@ func apiContainerToContainer(c docker.APIContainers) kubecontainer.Container {
}
}
func dockerContainersToPod(containers DockerContainers) kubecontainer.Pod {
func dockerContainersToPod(containers []*docker.APIContainers) kubecontainer.Pod {
var pod kubecontainer.Pod
for _, c := range containers {
dockerName, hash, err := ParseDockerName(c.Names[0])