diff options
author | myml <wurongjie1@gmail.com> | 2022-02-07 05:27:05 +0000 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2022-02-10 13:55:24 -0500 |
commit | 7ec63f092fbd41214ab4fffde908919e7583047d (patch) | |
tree | 04d58a475bd8b58b2fac542214c21c44d3e59434 | |
parent | d62a0204d4df0145e201038d9af62e887d8afe6a (diff) | |
download | podman-7ec63f092fbd41214ab4fffde908919e7583047d.tar.gz podman-7ec63f092fbd41214ab4fffde908919e7583047d.tar.bz2 podman-7ec63f092fbd41214ab4fffde908919e7583047d.zip |
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>
-rw-r--r-- | libpod/container_log_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_log_linux.go b/libpod/container_log_linux.go index 6b7cb4aa6..6150973ca 100644 --- a/libpod/container_log_linux.go +++ b/libpod/container_log_linux.go @@ -226,7 +226,7 @@ func (c *Container) readFromJournal(ctx context.Context, options *logs.LogOption } if formatError != nil { - logrus.Errorf("Failed to parse journald log entry: %v", err) + logrus.Errorf("Failed to parse journald log entry: %v", formatError) return } |