Move network plugin teardown to DockerManager.

This teardown is Docker-specific and will let us also do the setup in
the manager in future cleanups.
This commit is contained in:
Victor Marmol
2015-04-28 11:02:29 -07:00
parent de0957ccb1
commit 787d42d50b
6 changed files with 51 additions and 46 deletions

View File

@@ -156,7 +156,8 @@ func TestRunOnce(t *testing.T) {
0,
0,
"",
kubecontainer.FakeOS{})
kubecontainer.FakeOS{},
kb.networkPlugin)
kb.containerManager.Puller = &dockertools.FakeDockerPuller{}
pods := []*api.Pod{