summaryrefslogtreecommitdiff
path: root/cmd/podman/common/create_opts.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-07-06 15:52:25 -0400
committerGitHub <noreply@github.com>2020-07-06 15:52:25 -0400
commitb8ad7f241aba622b23b2cfab6fb5284cd26125e3 (patch)
treef957873174291cfc4380478c43cf265757cbaf0c /cmd/podman/common/create_opts.go
parent1a60550bef976a57777c75e055ad35ff8cf87f23 (diff)
parentc4023a9302c81f04865646d765caf58ccf556cae (diff)
downloadpodman-b8ad7f241aba622b23b2cfab6fb5284cd26125e3.tar.gz
podman-b8ad7f241aba622b23b2cfab6fb5284cd26125e3.tar.bz2
podman-b8ad7f241aba622b23b2cfab6fb5284cd26125e3.zip
Merge pull request #6870 from rhatdan/v2.0
Pids-limit should only be set if the user set it
Diffstat (limited to 'cmd/podman/common/create_opts.go')
-rw-r--r--cmd/podman/common/create_opts.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/common/create_opts.go b/cmd/podman/common/create_opts.go
index f577a0875..08ffa5544 100644
--- a/cmd/podman/common/create_opts.go
+++ b/cmd/podman/common/create_opts.go
@@ -66,7 +66,7 @@ type ContainerCLIOpts struct {
OverrideArch string
OverrideOS string
PID string
- PIDsLimit int64
+ PIDsLimit *int64
Pod string
PodIDFile string
Privileged bool