diff options
author | myml <wurongjie1@gmail.com> | 2022-02-07 05:27:05 +0000 |
---|---|---|
committer | myml <wurongjie1@gmail.com> | 2022-02-07 13:59:25 +0800 |
commit | 44fb431a3ced04c6b9e5d05dd7601dc5d2c9159b (patch) | |
tree | 9f91bbdb21f749035b3e53be0e497876fcaf949f /libpod/container_log_linux.go | |
parent | ab4af502b3f60f891192356eddaa13092f785612 (diff) | |
download | podman-44fb431a3ced04c6b9e5d05dd7601dc5d2c9159b.tar.gz podman-44fb431a3ced04c6b9e5d05dd7601dc5d2c9159b.tar.bz2 podman-44fb431a3ced04c6b9e5d05dd7601dc5d2c9159b.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>
Diffstat (limited to 'libpod/container_log_linux.go')
-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 } |