diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-04-29 15:20:05 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2020-04-29 16:28:12 +0200 |
commit | 2d10471b8da734c57867858e6e8340081ffd921c (patch) | |
tree | 69176140e7640c5702b925c63f986f6e3482d818 /pkg/domain/entities | |
parent | a76a99352a2145e1dd6b70db56d9cfa550633fbd (diff) | |
download | podman-2d10471b8da734c57867858e6e8340081ffd921c.tar.gz podman-2d10471b8da734c57867858e6e8340081ffd921c.tar.bz2 podman-2d10471b8da734c57867858e6e8340081ffd921c.zip |
pull/search options: tls verify -> skip
Change the logic in the options from tls-verify to skipping
verification. It require a constant brain yoga to translate
from doing verification (CLI logic) to skipping it (c/image logic).
As the code is using c/image, let's make it consistent.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r-- | pkg/domain/entities/images.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/domain/entities/images.go b/pkg/domain/entities/images.go index 442b2cf3c..69af365c0 100644 --- a/pkg/domain/entities/images.go +++ b/pkg/domain/entities/images.go @@ -141,8 +141,8 @@ type ImagePullOptions struct { Quiet bool // SignaturePolicy to use when pulling. Ignored for remote calls. SignaturePolicy string - // TLSVerify to enable/disable HTTPS and certificate verification. - TLSVerify types.OptionalBool + // SkipTLSVerify to skip HTTPS and certificate verification. + SkipTLSVerify types.OptionalBool } // ImagePullReport is the response from pulling one or more images. @@ -198,8 +198,8 @@ type ImageSearchOptions struct { Limit int // NoTrunc will not truncate the output. NoTrunc bool - // TLSVerify to enable/disable HTTPS and certificate verification. - TLSVerify types.OptionalBool + // SkipTLSVerify to skip HTTPS and certificate verification. + SkipTLSVerify types.OptionalBool } // ImageSearchReport is the response from searching images. |