diff options
author | Matthew Heon <matthew.heon@pm.me> | 2020-06-23 13:33:42 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2020-06-24 09:27:20 -0400 |
commit | 7fe4c5204e7c0d98f87b0408b959f312b08177e3 (patch) | |
tree | 396a20756dc7bc7a8057df9b8828db3b64bd747f /libpod/oci_attach_linux_cgo.go | |
parent | 73514b1465fe2f79b82d017cdb11d587d6f7df3d (diff) | |
download | podman-7fe4c5204e7c0d98f87b0408b959f312b08177e3.tar.gz podman-7fe4c5204e7c0d98f87b0408b959f312b08177e3.tar.bz2 podman-7fe4c5204e7c0d98f87b0408b959f312b08177e3.zip |
Set stop signal to 15 when not explicitly set
When going through the output of `podman inspect` to try and
identify another issue, I noticed that Podman 2.0 was setting
StopSignal to 0 on containers by default. After chasing it
through the command line and SpecGen, I determined that we were
actually not setting a default in Libpod, which is strange
because I swear we used to do that. I re-added the disappeared
default and now all is well again.
Also, while I was looking for the bug in SpecGen, I found a bunch
of TODOs that have already been done. Eliminate the comments for
these.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/oci_attach_linux_cgo.go')
0 files changed, 0 insertions, 0 deletions