summaryrefslogtreecommitdiff
path: root/test/e2e/create_test.go
diff options
context:
space:
mode:
authorumohnani8 <umohnani@redhat.com>2018-02-05 10:42:14 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-02-06 19:31:55 +0000
commit367213a3943961126c6f7c1dce45c7fafea9e6b2 (patch)
tree758846f65e55f4f005b03fbfd5d81933db6cf437 /test/e2e/create_test.go
parent69d75a82515b6b4270cd6b72617cff1531f9ceca (diff)
downloadpodman-367213a3943961126c6f7c1dce45c7fafea9e6b2.tar.gz
podman-367213a3943961126c6f7c1dce45c7fafea9e6b2.tar.bz2
podman-367213a3943961126c6f7c1dce45c7fafea9e6b2.zip
Match podman inspect output to docker inspect
Made a change to make sure that the output paths of podman inspect matches that of docker inspect. For example to get the stop signal you should be able to do podman inspect ctr --format {{.Config.StopSignal}} and the same thing in docker will give the same results. Signed-off-by: umohnani8 <umohnani@redhat.com> Closes: #292 Approved by: rhatdan
Diffstat (limited to 'test/e2e/create_test.go')
-rw-r--r--test/e2e/create_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/create_test.go b/test/e2e/create_test.go
index c116cea7d..e54e35761 100644
--- a/test/e2e/create_test.go
+++ b/test/e2e/create_test.go
@@ -38,7 +38,7 @@ var _ = Describe("Podman create", func() {
check := podmanTest.Podman([]string{"inspect", "-l"})
check.WaitWithDefaultTimeout()
data := check.InspectContainerToJSON()
- Expect(data.CtrInspectData.ID).To(ContainSubstring(cid))
+ Expect(data.ID).To(ContainSubstring(cid))
})
It("podman create container based on a remote image", func() {