Windows: Refactor state struct

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard
2015-10-23 09:22:48 -07:00
parent 97929bd6dd
commit fe1cce69b3
6 changed files with 47 additions and 22 deletions

View File

@@ -137,8 +137,10 @@ func TestFactoryLoadContainer(t *testing.T) {
Rootfs: "/mycontainer/root",
}
expectedState = &State{
InitProcessPid: 1024,
Config: *expectedConfig,
BaseState: BaseState{
InitProcessPid: 1024,
Config: *expectedConfig,
},
}
)
if err := os.Mkdir(filepath.Join(root, id), 0700); err != nil {