mirror of
https://github.com/opencontainers/runc.git
synced 2026-04-22 23:17:17 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user