mirror of https://github.com/containers/podman.git
Small logic fix for podman pull with tls-verify
Ensure we don't force TLS verification when --tls-verify is set to false. Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #636 Approved by: rhatdan
This commit is contained in:
parent
95f272a0c5
commit
46b0e1bb27
|
@ -99,7 +99,7 @@ func pullCmd(c *cli.Context) error {
|
|||
DockerCertPath: c.String("cert-dir"),
|
||||
DockerInsecureSkipTLSVerify: !c.BoolT("tls-verify"),
|
||||
}
|
||||
if !c.IsSet("tls-verify") {
|
||||
if !c.IsSet("tls-verify") || !c.Bool("tls-verify") {
|
||||
forceSecure = false
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue