Merge pull request #4504 from dchen1107/podstatus

Create docker.Container obj with Name. Integration test is using fake_do...
This commit is contained in:
Nikhil Jindal 2015-02-17 16:43:33 -08:00
commit 7264ad49f8

View File

@ -118,6 +118,7 @@ func (f *FakeDockerClient) StartContainer(id string, hostConfig *docker.HostConf
f.called = append(f.called, "start")
f.Container = &docker.Container{
ID: id,
Name: id, // For testing purpose, we set name to id
Config: &docker.Config{Image: "testimage"},
HostConfig: hostConfig,
State: docker.State{Running: true},