Move Docker-specific log handling to DockerManager.

Eases the separation of Docker-specific code into the Docker-specific
runtime.
This commit is contained in:
Victor Marmol
2015-04-27 13:03:55 -07:00
parent a689be8f74
commit 7404b7019c
10 changed files with 143 additions and 106 deletions

View File

@@ -86,7 +86,7 @@ func TestRunOnce(t *testing.T) {
containerRefManager: kubecontainer.NewRefManager(),
readinessManager: kubecontainer.NewReadinessManager(),
podManager: podManager,
os: FakeOS{},
os: kubecontainer.FakeOS{},
volumeManager: newVolumeManager(),
}
@@ -154,7 +154,9 @@ func TestRunOnce(t *testing.T) {
kb.containerRefManager,
dockertools.PodInfraContainerImage,
0,
0)
0,
"",
kubecontainer.FakeOS{})
kb.containerManager.Puller = &dockertools.FakeDockerPuller{}
pods := []*api.Pod{