summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-11-30 16:12:23 +0100
committerGitHub <noreply@github.com>2021-11-30 16:12:23 +0100
commit31bc3586be57f459bc30124ce6dbca98f98836e8 (patch)
treeb125b7fad9f736445c34f6688f5d4dd28513b1bd /pkg
parent67d5b21f66beb58f9bfe25451e812a741d5c017d (diff)
parent47a8e7c9f9759f1775a0d59dd292eb375accd903 (diff)
downloadpodman-31bc3586be57f459bc30124ce6dbca98f98836e8.tar.gz
podman-31bc3586be57f459bc30124ce6dbca98f98836e8.tar.bz2
podman-31bc3586be57f459bc30124ce6dbca98f98836e8.zip
Merge pull request #12451 from vrothberg/backport-12064
[v3.4] container create: fix --tls-verify parsing
Diffstat (limited to 'pkg')
-rw-r--r--pkg/domain/entities/pods.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/domain/entities/pods.go b/pkg/domain/entities/pods.go
index d9dd0c532..8214af19c 100644
--- a/pkg/domain/entities/pods.go
+++ b/pkg/domain/entities/pods.go
@@ -5,6 +5,7 @@ import (
"strings"
"time"
+ commonFlag "github.com/containers/common/pkg/flag"
"github.com/containers/podman/v3/libpod/define"
"github.com/containers/podman/v3/pkg/specgen"
"github.com/containers/podman/v3/pkg/util"
@@ -235,7 +236,7 @@ type ContainerCreateOptions struct {
Sysctl []string
Systemd string
Timeout uint
- TLSVerify bool
+ TLSVerify commonFlag.OptionalBool
TmpFS []string
TTY bool
Timezone string