Refactor InspectContainer.

This commit is contained in:
Random-Liu
2016-04-04 15:27:20 -07:00
parent b348e7d1c9
commit da07fa9dd5
11 changed files with 234 additions and 179 deletions

View File

@@ -83,7 +83,7 @@ func findPodContainer(dockerContainers []*dockertypes.Container, podFullName str
func TestGetContainerID(t *testing.T) {
fakeDocker := NewFakeDockerClient()
fakeDocker.SetFakeRunningContainers([]*docker.Container{
fakeDocker.SetFakeRunningContainers([]*FakeContainer{
{
ID: "foobar",
Name: "/k8s_foo_qux_ns_1234_42",