Remove the nullState

Add a "createdState" in its place since I think that better describes
what its used for.

Signed-off-by: Doug Davis <dug@us.ibm.com>
This commit is contained in:
Doug Davis
2016-01-24 20:52:52 -08:00
parent 3268a1ea00
commit ff034a5119
5 changed files with 17 additions and 12 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ func TestGetContainerState(t *testing.T) {
},
},
}
container.state = &nullState{c: container}
container.state = &createdState{c: container}
state, err := container.State()
if err != nil {
t.Fatal(err)