diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-06-11 16:32:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-11 16:32:43 -0400 |
commit | 45dc3d699d20b2b1121a266cb7fda1c82a89ed35 (patch) | |
tree | 7db0032c0f212ea98b4090e31e5840ed0601c209 /libpod/events | |
parent | af9d690690ae03bb40d8f8da88e3eed57427c80c (diff) | |
parent | 62f4b0a1955853592c01310a2cf7e0ae041b9566 (diff) | |
download | podman-45dc3d699d20b2b1121a266cb7fda1c82a89ed35.tar.gz podman-45dc3d699d20b2b1121a266cb7fda1c82a89ed35.tar.bz2 podman-45dc3d699d20b2b1121a266cb7fda1c82a89ed35.zip |
Merge pull request #10405 from mheon/always_cleanup_exec
Always spawn a cleanup process with exec
Diffstat (limited to 'libpod/events')
-rw-r--r-- | libpod/events/config.go | 2 | ||||
-rw-r--r-- | libpod/events/events.go | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/libpod/events/config.go b/libpod/events/config.go index 085fa9d52..d88d7b6e3 100644 --- a/libpod/events/config.go +++ b/libpod/events/config.go @@ -127,6 +127,8 @@ const ( Create Status = "create" // Exec ... Exec Status = "exec" + // ExecDied indicates that an exec session in a container died. + ExecDied Status = "exec_died" // Exited indicates that a container's process died Exited Status = "died" // Export ... diff --git a/libpod/events/events.go b/libpod/events/events.go index 01ea6a386..e03215eff 100644 --- a/libpod/events/events.go +++ b/libpod/events/events.go @@ -149,6 +149,8 @@ func StringToStatus(name string) (Status, error) { return Create, nil case Exec.String(): return Exec, nil + case ExecDied.String(): + return ExecDied, nil case Exited.String(): return Exited, nil case Export.String(): |