mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
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:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user