Files
Brian Goff e264217787 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>
(cherry picked from commit 0a48d26fbc)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-04-09 10:21:05 +02:00
..
2022-12-21 11:09:01 +01:00
2022-12-21 11:09:01 +01:00
2018-02-05 16:51:57 -05:00
2023-04-25 15:13:26 +02:00
2023-10-11 20:24:34 +08:00
2022-07-29 23:05:18 +02:00
2023-03-30 10:29:07 +01:00
2021-06-01 21:51:23 +00:00
2018-02-05 16:51:57 -05:00
2022-09-07 15:27:16 +02:00
2022-04-21 17:33:07 -04:00
2022-11-28 20:28:55 +01:00
2023-04-25 13:39:28 +08:00
2018-02-05 16:51:57 -05:00
2023-04-25 15:13:26 +02:00
2018-02-05 16:51:57 -05:00
2023-04-25 13:39:28 +08:00
2019-09-18 12:56:54 +02:00
2018-02-05 16:51:57 -05:00
2018-02-05 16:51:57 -05:00
2018-02-05 16:51:57 -05:00
2023-10-11 20:24:34 +08:00
2023-10-11 20:24:34 +08:00
2023-10-11 20:24:34 +08:00
2018-04-23 13:52:44 -07:00