diff options
author | Ed Santiago <santiago@redhat.com> | 2019-03-12 15:59:45 -0600 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2019-03-13 08:29:52 -0600 |
commit | 3de5e4a99fe441e41e1a1c9f90e8bb6e0ff1bd28 (patch) | |
tree | afa2bf8430691a5e1ae502a17825ccb73ab6e142 /test/e2e/commit_test.go | |
parent | 8b3f759800ebd6e53e0a807728ede633aa9bdb36 (diff) | |
download | podman-3de5e4a99fe441e41e1a1c9f90e8bb6e0ff1bd28.tar.gz podman-3de5e4a99fe441e41e1a1c9f90e8bb6e0ff1bd28.tar.bz2 podman-3de5e4a99fe441e41e1a1c9f90e8bb6e0ff1bd28.zip |
Usability cleanup for 'inspect'
Make the usage messages (and options) different between
podman inspect, podman image inspect, and podman container inspect.
Disable inapplicable options (-l, -s) for podman image inspect
Disable -t (type) when the type is implicit through the subcommand.
Update man page to reflect differences in usage.
Fix broken test.
Uglier than desirable due to Go and Cobra limitations
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/e2e/commit_test.go')
-rw-r--r-- | test/e2e/commit_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/commit_test.go b/test/e2e/commit_test.go index dff156441..bf9c88de5 100644 --- a/test/e2e/commit_test.go +++ b/test/e2e/commit_test.go @@ -58,7 +58,7 @@ var _ = Describe("Podman commit", func() { session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) - check := podmanTest.Podman([]string{"container", "inspect", "foobar.com/test1-image:latest"}) + check := podmanTest.Podman([]string{"image", "inspect", "foobar.com/test1-image:latest"}) check.WaitWithDefaultTimeout() data := check.InspectImageJSON() Expect(StringInSlice("foobar.com/test1-image:latest", data[0].RepoTags)).To(BeTrue()) |