mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
Fix: Do not print error when parsing journald log fails
foramtError was written as err [NO NEW TESTS NEEDED] Signed-off-by: myml <wurongjie1@gmail.com>
This commit is contained in:
@ -226,7 +226,7 @@ func (c *Container) readFromJournal(ctx context.Context, options *logs.LogOption
|
|||||||
}
|
}
|
||||||
|
|
||||||
if formatError != nil {
|
if formatError != nil {
|
||||||
logrus.Errorf("Failed to parse journald log entry: %v", err)
|
logrus.Errorf("Failed to parse journald log entry: %v", formatError)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user