aboutsummaryrefslogtreecommitdiff
path: root/libpod/common_test.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-12-18 11:44:19 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2018-12-21 15:59:34 -0500
commitc657dc4fdbca4b331d69e0910261e2cb11e2a629 (patch)
treefa75b6ecfbaf7c3c85ab7548fe1ac29d1612cf47 /libpod/common_test.go
parentfe186c6ebba95db89463f38c6aa0f0dcc104a249 (diff)
downloadpodman-c657dc4fdbca4b331d69e0910261e2cb11e2a629.tar.gz
podman-c657dc4fdbca4b331d69e0910261e2cb11e2a629.tar.bz2
podman-c657dc4fdbca4b331d69e0910261e2cb11e2a629.zip
Switch all referencs to image.ContainerConfig to image.Config
This will more closely match what Docker is doing. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libpod/common_test.go')
-rw-r--r--libpod/common_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpod/common_test.go b/libpod/common_test.go
index 81c8f1920..6c7434fd2 100644
--- a/libpod/common_test.go
+++ b/libpod/common_test.go
@@ -18,7 +18,7 @@ import (
func getTestContainer(id, name, locksDir string) (*Container, error) {
ctr := &Container{
- config: &ContainerConfig{
+ config: &Config{
ID: id,
Name: name,
RootfsImageID: id,
@@ -165,8 +165,8 @@ func testContainersEqual(t *testing.T, a, b *Container, allowedEmpty bool) {
require.NotNil(t, a.state)
require.NotNil(t, b.state)
- aConfig := new(ContainerConfig)
- bConfig := new(ContainerConfig)
+ aConfig := new(Config)
+ bConfig := new(Config)
aState := new(containerState)
bState := new(containerState)