diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-03-13 12:03:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-13 12:03:07 -0700 |
commit | 22fc5a3e57566326b96f465e69e5566598666841 (patch) | |
tree | c20f71ed45950f2e0638c7321988c2f303fdd8ea /libpod/oci.go | |
parent | a65788c8761f7a89be8ec6bd0fb547ec73f957f5 (diff) | |
parent | 3b5805d521b8fa8a948efe74133ad1148a4c180d (diff) | |
download | podman-22fc5a3e57566326b96f465e69e5566598666841.tar.gz podman-22fc5a3e57566326b96f465e69e5566598666841.tar.bz2 podman-22fc5a3e57566326b96f465e69e5566598666841.zip |
Merge pull request #2621 from mheon/event_on_death
Add event on container death
Diffstat (limited to 'libpod/oci.go')
-rw-r--r-- | libpod/oci.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/oci.go b/libpod/oci.go index c3b5f9af2..30360d289 100644 --- a/libpod/oci.go +++ b/libpod/oci.go @@ -477,7 +477,7 @@ func (r *OCIRuntime) updateContainerStatus(ctr *Container, useRunc bool) error { // If not using runc, we don't need to do most of this. if !useRunc { // If the container's not running, nothing to do. - if ctr.state.State != ContainerStateRunning { + if ctr.state.State != ContainerStateRunning && ctr.state.State != ContainerStatePaused { return nil } |