diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-11-30 16:12:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-30 16:12:23 +0100 |
commit | 31bc3586be57f459bc30124ce6dbca98f98836e8 (patch) | |
tree | b125b7fad9f736445c34f6688f5d4dd28513b1bd /test/e2e/push_test.go | |
parent | 67d5b21f66beb58f9bfe25451e812a741d5c017d (diff) | |
parent | 47a8e7c9f9759f1775a0d59dd292eb375accd903 (diff) | |
download | podman-31bc3586be57f459bc30124ce6dbca98f98836e8.tar.gz podman-31bc3586be57f459bc30124ce6dbca98f98836e8.tar.bz2 podman-31bc3586be57f459bc30124ce6dbca98f98836e8.zip |
Merge pull request #12451 from vrothberg/backport-12064
[v3.4] container create: fix --tls-verify parsing
Diffstat (limited to 'test/e2e/push_test.go')
-rw-r--r-- | test/e2e/push_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/push_test.go b/test/e2e/push_test.go index b7e8309fb..7b35acd35 100644 --- a/test/e2e/push_test.go +++ b/test/e2e/push_test.go @@ -146,7 +146,7 @@ var _ = Describe("Podman push", func() { session = podmanTest.Podman([]string{"logs", "registry"}) session.WaitWithDefaultTimeout() - push := podmanTest.Podman([]string{"push", "--format=v2s2", "--creds=podmantest:test", ALPINE, "localhost:5000/tlstest"}) + push := podmanTest.Podman([]string{"push", "--tls-verify=true", "--format=v2s2", "--creds=podmantest:test", ALPINE, "localhost:5000/tlstest"}) push.WaitWithDefaultTimeout() Expect(push).To(ExitWithError()) @@ -163,7 +163,7 @@ var _ = Describe("Podman push", func() { if !IsRemote() { // remote does not support --cert-dir - push = podmanTest.Podman([]string{"push", "--creds=podmantest:test", "--cert-dir=fakedir", ALPINE, "localhost:5000/certdirtest"}) + push = podmanTest.Podman([]string{"push", "--tls-verify=true", "--creds=podmantest:test", "--cert-dir=fakedir", ALPINE, "localhost:5000/certdirtest"}) push.WaitWithDefaultTimeout() Expect(push).To(ExitWithError()) } |