diff options
Diffstat (limited to 'libpod/common_test.go')
-rw-r--r-- | libpod/common_test.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libpod/common_test.go b/libpod/common_test.go index 882468a3a..4af68a040 100644 --- a/libpod/common_test.go +++ b/libpod/common_test.go @@ -1,7 +1,6 @@ package libpod import ( - "encoding/json" "net" "reflect" "strings" @@ -17,7 +16,7 @@ import ( func getTestContainer(id, name string, manager lock.Manager) (*Container, error) { ctr := &Container{ - config: &Config{ + config: &ContainerConfig{ ID: id, Name: name, RootfsImageID: id, @@ -165,8 +164,8 @@ func testContainersEqual(t *testing.T, a, b *Container, allowedEmpty bool) { require.NotNil(t, a.state) require.NotNil(t, b.state) - aConfig := new(Config) - bConfig := new(Config) + aConfig := new(ContainerConfig) + bConfig := new(ContainerConfig) aState := new(containerState) bState := new(containerState) |