diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-04-29 14:33:00 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2020-04-29 14:33:00 +0200 |
commit | d6d1e3860c2dec64471d3d9b408e5b90b3c21e4d (patch) | |
tree | 479bb65b9146f542ef273d3cd5ea624ba84e4a45 /pkg/domain/infra | |
parent | 46b185942ce6297a3e59a048790649571676818b (diff) | |
download | podman-d6d1e3860c2dec64471d3d9b408e5b90b3c21e4d.tar.gz podman-d6d1e3860c2dec64471d3d9b408e5b90b3c21e4d.tar.bz2 podman-d6d1e3860c2dec64471d3d9b408e5b90b3c21e4d.zip |
push: fix --tls-verify
Fix --tls-verify parsing and make the associated options reflect the
correct logic. Other commands are affected as well but will be fixed
later.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/domain/infra')
-rw-r--r-- | pkg/domain/infra/abi/images.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/images.go b/pkg/domain/infra/abi/images.go index 7c63276e5..d1245a45c 100644 --- a/pkg/domain/infra/abi/images.go +++ b/pkg/domain/infra/abi/images.go @@ -221,7 +221,7 @@ func (ir *ImageEngine) Push(ctx context.Context, source string, destination stri dockerRegistryOptions := image.DockerRegistryOptions{ DockerRegistryCreds: registryCreds, DockerCertPath: options.CertDir, - DockerInsecureSkipTLSVerify: options.TLSVerify, + DockerInsecureSkipTLSVerify: options.SkipTLSVerify, } signOptions := image.SigningOptions{ |