From 4d348d7839b7d018435cd4db6e82826269d8b399 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Fri, 3 May 2019 10:43:14 -0400 Subject: Fix 'restart' event in journald Ensure that we can decode the restart event with the new journald events. Signed-off-by: Matthew Heon --- libpod/events/events.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpod/events') 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(): -- cgit v1.2.3-54-g00ecf