summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2022-08-17 12:49:30 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2022-08-17 12:49:30 -0400
commitf6e7b0b59d365f42cae70702f53f87d534d4c2f6 (patch)
treeccbe4ee717b3a2069cbc80d44a7a584aca56a332 /test
parentd50ff4f512856907982e1ebb92d60fc7980f730e (diff)
downloadpodman-f6e7b0b59d365f42cae70702f53f87d534d4c2f6.tar.gz
podman-f6e7b0b59d365f42cae70702f53f87d534d4c2f6.tar.bz2
podman-f6e7b0b59d365f42cae70702f53f87d534d4c2f6.zip
Add podman secret inspect -f alias for --format: Docker compatibility
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test')
-rw-r--r--test/e2e/secret_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/secret_test.go b/test/e2e/secret_test.go
index f557aaaa0..3410c0af5 100644
--- a/test/e2e/secret_test.go
+++ b/test/e2e/secret_test.go
@@ -49,7 +49,7 @@ var _ = Describe("Podman secret", func() {
inspect.WaitWithDefaultTimeout()
Expect(inspect).Should(Exit(0))
Expect(inspect.OutputToString()).To(Equal(secrID))
- inspect = podmanTest.Podman([]string{"secret", "inspect", "--format", "{{.Spec.Driver.Options}}", secrID})
+ inspect = podmanTest.Podman([]string{"secret", "inspect", "-f", "{{.Spec.Driver.Options}}", secrID})
inspect.WaitWithDefaultTimeout()
Expect(inspect).Should(Exit(0))
Expect(inspect.OutputToString()).To(ContainSubstring("opt1:val"))