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
..
2024-02-14 18:38:05 +01:00
2023-10-11 17:52:23 +02:00
2023-10-11 17:52:23 +02:00
2023-10-11 17:52:23 +02:00
2023-06-29 00:31:52 +02:00
2024-01-30 17:57:12 -05:00
2023-06-29 00:31:52 +02:00
2024-04-01 21:30:43 +00:00
2024-01-30 17:18:12 -05:00
2024-03-07 10:57:03 +01:00
2023-10-11 17:52:23 +02:00
2022-09-28 01:58:51 +02:00
2022-03-16 12:11:54 +01:00
2022-09-28 01:58:51 +02:00
2023-10-11 17:52:23 +02:00
2023-06-29 00:31:53 +02:00
2023-10-11 17:52:23 +02:00
2020-04-21 18:06:24 -03:00
2020-02-19 17:02:34 -05:00
2023-10-11 17:52:23 +02:00
2018-04-11 13:26:28 -07:00
2022-11-02 18:47:50 +01:00
2022-12-21 11:09:01 +01:00
2019-09-18 12:56:54 +02:00
2023-06-29 00:31:53 +02:00
2023-05-19 20:38:51 +02:00
2023-06-29 00:31:53 +02:00
2023-06-29 00:31:53 +02:00
2022-09-28 01:58:51 +02:00
2024-03-07 10:57:03 +01:00