mirror of
https://github.com/containers/podman.git
synced 2025-06-17 15:08:08 +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
|
return err
|
||||||
}
|
}
|
||||||
switch event.Type {
|
switch event.Type {
|
||||||
case Image, Volume, Pod, Container:
|
case Image, Volume, Pod, System, Container:
|
||||||
// no-op
|
// no-op
|
||||||
default:
|
default:
|
||||||
return errors.Errorf("event type %s is not valid in %s", event.Type.String(), e.options.LogFilePath)
|
return errors.Errorf("event type %s is not valid in %s", event.Type.String(), e.options.LogFilePath)
|
||||||
|
Reference in New Issue
Block a user