summaryrefslogtreecommitdiff
path: root/cmd/podman/spec.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2017-12-19 14:41:23 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2017-12-19 20:18:14 +0000
commit44a3187830aa634a8a7bf7f2985d17a4d7927c97 (patch)
treeb946771897e9e4a51a1f65ae2c403a4d8dabc895 /cmd/podman/spec.go
parent94a810751539afeb1590ccc1a9745f1d5767fda2 (diff)
downloadpodman-44a3187830aa634a8a7bf7f2985d17a4d7927c97.tar.gz
podman-44a3187830aa634a8a7bf7f2985d17a4d7927c97.tar.bz2
podman-44a3187830aa634a8a7bf7f2985d17a4d7927c97.zip
Finish implementing stop signal parsing
Stop Signal from kpod create/run was not fully plumbed in, This will pass the stopsignal into the container database on create and run of containers. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #156 Approved by: mheon
Diffstat (limited to 'cmd/podman/spec.go')
-rw-r--r--cmd/podman/spec.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/spec.go b/cmd/podman/spec.go
index 550f74218..dc6e24c24 100644
--- a/cmd/podman/spec.go
+++ b/cmd/podman/spec.go
@@ -558,6 +558,7 @@ func (c *createConfig) GetContainerCreateOptions() ([]libpod.CtrCreateOption, er
// TODO parse ports into libpod format and include
// TODO should not happen if --net=host
options = append(options, libpod.WithNetNS([]ocicni.PortMapping{}))
+ options = append(options, libpod.WithStopSignal(c.StopSignal))
return options, nil
}