summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2019-05-03 10:43:14 -0400
committerMatthew Heon <matthew.heon@pm.me>2019-05-03 10:43:14 -0400
commit4d348d7839b7d018435cd4db6e82826269d8b399 (patch)
treee087f1614d75aaf7ebd2fbce3571381f73bfbfe9
parentd7c367aa61850936249fc99461a92185cb6ba8aa (diff)
downloadpodman-4d348d7839b7d018435cd4db6e82826269d8b399.tar.gz
podman-4d348d7839b7d018435cd4db6e82826269d8b399.tar.bz2
podman-4d348d7839b7d018435cd4db6e82826269d8b399.zip
Fix 'restart' event in journald
Ensure that we can decode the restart event with the new journald events. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
-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 202c9db4e..650a47bfb 100644
--- a/libpod/events/events.go
+++ b/libpod/events/events.go
@@ -144,6 +144,8 @@ func StringToStatus(name string) (Status, error) {
return Remove, nil
case Renumber.String():
return Renumber, nil
+ case Restart.String():
+ return Restart, nil
case Restore.String():
return Restore, nil
case Save.String():