summaryrefslogtreecommitdiff
path: root/cmd/podman/common/create_opts.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2020-04-28 12:20:10 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2020-04-30 11:33:34 +0200
commitc11cff4542a3e8b1b14086601b219310ed0f7f1b (patch)
treee509c794fd6c8b1b553bf78d68927bc7ac515188 /cmd/podman/common/create_opts.go
parent32564df172659dd844c0bd72671468f058f964de (diff)
downloadpodman-c11cff4542a3e8b1b14086601b219310ed0f7f1b.tar.gz
podman-c11cff4542a3e8b1b14086601b219310ed0f7f1b.tar.bz2
podman-c11cff4542a3e8b1b14086601b219310ed0f7f1b.zip
cmd, podman: do not override entrypoint if unset
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
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 2f08bb6a6..c275b1674 100644
--- a/cmd/podman/common/create_opts.go
+++ b/cmd/podman/common/create_opts.go
@@ -31,7 +31,7 @@ type ContainerCLIOpts struct {
DeviceReadIOPs []string
DeviceWriteBPs []string
DeviceWriteIOPs []string
- Entrypoint string
+ Entrypoint *string
env []string
EnvHost bool
EnvFile []string