From cc63aff571fd5ebf13a493fab923a829176c5108 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Thu, 18 Jul 2019 15:22:18 -0400 Subject: System events are valid, don't error on them The logfile driver was not aware that system events existed. Signed-off-by: Matthew Heon --- libpod/events/logfile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpod/events') diff --git a/libpod/events/logfile.go b/libpod/events/logfile.go index e5efc09bb..30d72b9fc 100644 --- a/libpod/events/logfile.go +++ b/libpod/events/logfile.go @@ -55,7 +55,7 @@ func (e EventLogFile) Read(options ReadOptions) error { return err } switch event.Type { - case Image, Volume, Pod, Container: + case Image, Volume, Pod, System, Container: // no-op default: return errors.Errorf("event type %s is not valid in %s", event.Type.String(), e.options.LogFilePath) -- cgit v1.2.3-54-g00ecf