diff options
author | Matthew Heon <matthew.heon@pm.me> | 2019-05-03 10:43:14 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-05-03 10:43:14 -0400 |
commit | 4d348d7839b7d018435cd4db6e82826269d8b399 (patch) | |
tree | e087f1614d75aaf7ebd2fbce3571381f73bfbfe9 /libpod/events/events.go | |
parent | d7c367aa61850936249fc99461a92185cb6ba8aa (diff) | |
download | podman-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>
Diffstat (limited to 'libpod/events/events.go')
-rw-r--r-- | libpod/events/events.go | 2 |
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(): |