mirror of
https://github.com/containers/podman.git
synced 2025-06-10 09:47:25 +08:00
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>
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user