moby/daemon/logger
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
..
awslogs awslogs: Replace depreacted WithEndpointResolver usage 2024-02-14 18:38:05 +01:00
etwlogs migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
fluentd migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
gcplogs migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
gelf daemon/logger/gelf: format code with gofumpt 2023-06-29 00:31:52 +02:00
journald d/logger/journald: quit waiting when logger closes 2024-01-30 17:57:12 -05:00
jsonfilelog daemon/logger/jsonfilelog: format code with gofumpt 2023-06-29 00:31:52 +02:00
local Fix cases where we are wrapping a nil error 2024-04-01 21:30:43 +00:00
loggertest d/logger/loggertest: improve TestConcurrent 2024-01-30 17:18:12 -05:00
loggerutils fix duplicate words (dupwords) 2024-03-07 10:57:03 +01:00
splunk migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
syslog daemon/logger: fix empty-lines (revive) 2022-09-28 01:58:51 +02:00
templates staticcheck: ignore "SA1019: strings.Title is deprecated" 2022-03-16 12:11:54 +01:00
adapter.go migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
adapter_test.go daemon/logger: fix empty-lines (revive) 2022-09-28 01:58:51 +02:00
copier.go migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
copier_test.go daemon/logger: format code with gofumpt 2023-06-29 00:31:53 +02:00
factory.go Improve error feedback when plugin does not implement desired interface 2020-04-21 18:06:24 -03:00
log_cache_opts.go Support configuration of log cacher. 2020-02-19 17:02:34 -05:00
logger.go daemon/logger: fix godoc 2022-11-02 18:47:50 +01:00
logger_error.go migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
logger_test.go Improve partial message support in logger 2018-04-11 13:26:28 -07:00
loginfo.go daemon/logger: use strings.Cut() 2022-12-21 11:09:01 +01:00
metrics.go goimports: fix imports 2019-09-18 12:56:54 +02:00
plugin.go daemon/logger: format code with gofumpt 2023-06-29 00:31:53 +02:00
plugin_unix.go daemon/logger: format code with gofumpt 2023-06-29 00:31:53 +02:00
plugin_unsupported.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
proxy.go daemon/logger: format code with gofumpt 2023-06-29 00:31:53 +02:00
ring.go fix duplicate words (dupwords) 2024-03-07 10:57:03 +01:00
ring_test.go daemon/logger: fix empty-lines (revive) 2022-09-28 01:58:51 +02:00