aboutsummaryrefslogtreecommitdiff
path: root/libpod/events
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-03-25 09:48:38 -0500
committerbaude <bbaude@redhat.com>2019-03-25 10:28:50 -0500
commite730fc609347ddef217418dd6b0a9da5f671ba89 (patch)
treee3a98f1d979204e12ecdacc794f3129a047f14e1 /libpod/events
parentd0c6a35c05a72e4b156819406b83aa9f34f840e0 (diff)
downloadpodman-e730fc609347ddef217418dd6b0a9da5f671ba89.tar.gz
podman-e730fc609347ddef217418dd6b0a9da5f671ba89.tar.bz2
podman-e730fc609347ddef217418dd6b0a9da5f671ba89.zip
Add "died" event
We have a new event for container 'Exited' which has been renamed to 'died'. also removed the stream bool from the varlink endpoint for events because it can be determined by the varlink more value. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'libpod/events')
-rw-r--r--libpod/events/events.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/events/events.go b/libpod/events/events.go
index 48bbbb00e..7db36653e 100644
--- a/libpod/events/events.go
+++ b/libpod/events/events.go
@@ -219,6 +219,8 @@ func StringToStatus(name string) (Status, error) {
return Create, nil
case Exec.String():
return Exec, nil
+ case Exited.String():
+ return Exited, nil
case Export.String():
return Export, nil
case History.String():