summaryrefslogtreecommitdiff
path: root/pkg/bindings
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-17 22:38:28 +0100
committerGitHub <noreply@github.com>2020-11-17 22:38:28 +0100
commit0886fabbc233261008cc38ee07dea238bcf4de86 (patch)
tree344593a7292cf2abe5d985e7261f10529062d14d /pkg/bindings
parent65880e556314d1d8cb3cf12e20666b823eab8c76 (diff)
parentc6c6b233934b3a1b5cb90e9b722814ff485a680c (diff)
downloadpodman-0886fabbc233261008cc38ee07dea238bcf4de86.tar.gz
podman-0886fabbc233261008cc38ee07dea238bcf4de86.tar.bz2
podman-0886fabbc233261008cc38ee07dea238bcf4de86.zip
Merge pull request #8380 from AlbanBedel/fix-client-play-kube-tls-verify
Client call to /play/kube incorrectly set tlsVerify
Diffstat (limited to 'pkg/bindings')
-rw-r--r--pkg/bindings/play/play.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/bindings/play/play.go b/pkg/bindings/play/play.go
index 8af3b8fb1..b6e8048de 100644
--- a/pkg/bindings/play/play.go
+++ b/pkg/bindings/play/play.go
@@ -30,7 +30,7 @@ func Kube(ctx context.Context, path string, options entities.PlayKubeOptions) (*
params.Set("network", options.Network)
params.Set("logDriver", options.LogDriver)
if options.SkipTLSVerify != types.OptionalBoolUndefined {
- params.Set("tlsVerify", strconv.FormatBool(options.SkipTLSVerify == types.OptionalBoolTrue))
+ params.Set("tlsVerify", strconv.FormatBool(options.SkipTLSVerify != types.OptionalBoolTrue))
}
// TODO: have a global system context we can pass around (1st argument)