mirror of
https://github.com/containers/podman.git
synced 2026-07-29 00:16:57 -04:00
Merge pull request #8380 from AlbanBedel/fix-client-play-kube-tls-verify
Client call to /play/kube incorrectly set tlsVerify
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user