diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2017-12-13 09:36:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-13 09:36:14 -0500 |
commit | e456c07813c5ccc6ccc81ad9a103e46e1b59b50c (patch) | |
tree | 06d6976ab80d77d19393f81344ef092fa9e51a3f /cmd/kpod/spec_test.go | |
parent | cfb4e15e430e63b17420e80c0f6030a12fa1fb4a (diff) | |
parent | 74ee579375654c79fa710f13b7c2ee3810366f82 (diff) | |
download | podman-e456c07813c5ccc6ccc81ad9a103e46e1b59b50c.tar.gz podman-e456c07813c5ccc6ccc81ad9a103e46e1b59b50c.tar.bz2 podman-e456c07813c5ccc6ccc81ad9a103e46e1b59b50c.zip |
Merge pull request #106 from umohnani8/kpod_inspect
Update kpod inspect to use the new container state
Diffstat (limited to 'cmd/kpod/spec_test.go')
-rw-r--r-- | cmd/kpod/spec_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/kpod/spec_test.go b/cmd/kpod/spec_test.go index 799d6b235..01e1a4ad3 100644 --- a/cmd/kpod/spec_test.go +++ b/cmd/kpod/spec_test.go @@ -16,7 +16,7 @@ func TestCreateConfig_GetVolumeMounts(t *testing.T) { Options: []string{"ro", "rbind", "rprivate"}, } config := createConfig{ - volumes: []string{"foobar:/foobar:ro"}, + Volumes: []string{"foobar:/foobar:ro"}, } specMount, err := config.GetVolumeMounts() assert.NoError(t, err) @@ -31,7 +31,7 @@ func TestCreateConfig_GetTmpfsMounts(t *testing.T) { Options: []string{"rw", "size=787448k", "mode=1777"}, } config := createConfig{ - tmpfs: []string{"/homer:rw,size=787448k,mode=1777"}, + Tmpfs: []string{"/homer:rw,size=787448k,mode=1777"}, } tmpfsMount := config.GetTmpfsMounts() assert.True(t, reflect.DeepEqual(data, tmpfsMount[0])) |