diff --git a/daemon/logger/local/read.go b/daemon/logger/local/read.go index 6a0b166103..cb5f9f0cd3 100644 --- a/daemon/logger/local/read.go +++ b/daemon/logger/local/read.go @@ -66,7 +66,7 @@ func getTailReader(ctx context.Context, r loggerutils.SizeReaderAt, req int) (io } if msgLen != binary.BigEndian.Uint32(buf) { - return nil, 0, errdefs.DataLoss(errors.Wrap(err, "log message header and footer indicate different message sizes")) + return nil, 0, errdefs.DataLoss(errors.New("log message header and footer indicate different message sizes")) } found++