diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2022-08-17 12:44:42 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2022-08-17 12:44:42 -0400 |
commit | d50ff4f512856907982e1ebb92d60fc7980f730e (patch) | |
tree | e6d08dadf1e44ca84f27a19e9228c6717a6e0509 /test | |
parent | f70c9cd78bd377ddc01acc67f00af38325f40edd (diff) | |
download | podman-d50ff4f512856907982e1ebb92d60fc7980f730e.tar.gz podman-d50ff4f512856907982e1ebb92d60fc7980f730e.tar.bz2 podman-d50ff4f512856907982e1ebb92d60fc7980f730e.zip |
Add podman secret create -d as alias for --driver for Docker compatibility
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/secret_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/secret_test.go b/test/e2e/secret_test.go index ed328d84a..f557aaaa0 100644 --- a/test/e2e/secret_test.go +++ b/test/e2e/secret_test.go @@ -40,7 +40,7 @@ var _ = Describe("Podman secret", func() { err := ioutil.WriteFile(secretFilePath, []byte("mysecret"), 0755) Expect(err).To(BeNil()) - session := podmanTest.Podman([]string{"secret", "create", "--driver-opts", "opt1=val", "a", secretFilePath}) + session := podmanTest.Podman([]string{"secret", "create", "-d", "file", "--driver-opts", "opt1=val", "a", secretFilePath}) session.WaitWithDefaultTimeout() secrID := session.OutputToString() Expect(session).Should(Exit(0)) |