moby/daemon/logger/local
Brian Goff 0a48d26fbc Fix cases where we are wrapping a nil error
This was using `errors.Wrap` when there was no error to wrap, meanwhile
we are supposed to be creating a new error.

Found this while investigating some log corruption issues and
unexpectedly getting a nil reader and a nil error from `getTailReader`.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2024-04-01 21:30:43 +00:00
..
config.go Add new local log driver 2018-08-17 09:36:56 -07:00
doc.go Add new local log driver 2018-08-17 09:36:56 -07:00
local.go daemon/logger/local: always use UTC for timestamps 2023-12-08 18:31:30 +01:00
local_test.go daemon/logger: use strconv instead of fmt.Sprintf() 2022-10-08 17:41:38 +02:00
read.go Fix cases where we are wrapping a nil error 2024-04-01 21:30:43 +00:00
read_test.go daemon/logger: Share buffers by sync.Pool 2022-05-27 16:44:06 +02:00