diff options
author | Matthew Heon <matthew.heon@pm.me> | 2019-07-18 15:22:18 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-07-31 17:28:42 -0400 |
commit | cc63aff571fd5ebf13a493fab923a829176c5108 (patch) | |
tree | 0b115ed5756444c78456ea2581c37f58804c9f88 /libpod/events/logfile.go | |
parent | 318438fcb3ee2ac57498d06fdfd1c5300147a738 (diff) | |
download | podman-cc63aff571fd5ebf13a493fab923a829176c5108.tar.gz podman-cc63aff571fd5ebf13a493fab923a829176c5108.tar.bz2 podman-cc63aff571fd5ebf13a493fab923a829176c5108.zip |
System events are valid, don't error on them
The logfile driver was not aware that system events existed.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/events/logfile.go')
-rw-r--r-- | libpod/events/logfile.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |