Kir Kolyshkin
7f7b35356f
Replace os.Is* error checks with errors.Is
...
Using os.Is{Exist,NotExist,Permission} checks is not recommended in the
new code (see official documentation). While using it in the existing
code is OK, it may still result in a subtle errors later (for a specific
example of that, see [1]).
Replace those with errors.Is.
Generated by:
gofmt -r 'os.IsExist(a) -> errors.Is(a, os.ErrExist)' -w .
gofmt -r 'os.IsNotExist(a) -> errors.Is(a, os.ErrNotExist)' -w .
gofmt -r 'os.IsPermission(a) -> errors.Is(a, os.ErrPermission)' -w .
goimports -w .
git diff vendor test/tools/vendor | patch -p1 -R
[1]: https://github.com/opencontainers/runc/pull/5061
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com >
2026-05-21 13:09:42 -07:00
..
2026-05-20 14:24:47 +02:00
2026-04-22 14:02:25 -05:00
2026-05-18 00:05:10 +00:00
2025-09-01 12:33:04 +02:00
2024-01-04 11:53:38 +02:00
2026-05-21 13:09:42 -07:00
2026-04-22 14:02:25 -05:00
2026-03-09 16:08:43 +01:00
2026-05-21 13:09:42 -07:00
2025-11-11 12:32:46 +01:00
2026-05-05 15:42:04 -04:00
2026-05-05 15:42:04 -04:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2026-04-23 06:03:47 +02:00
2026-04-22 14:02:25 -05:00
2024-11-27 08:09:50 -05:00
2026-04-22 14:02:25 -05:00
2026-05-21 13:09:42 -07:00
2024-01-04 11:53:38 +02:00
2026-04-22 14:02:25 -05:00
2026-05-08 14:07:17 -04:00
2026-02-27 22:18:36 +01:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2026-05-21 13:09:42 -07:00
2026-05-21 13:09:42 -07:00
2026-04-30 09:52:08 -07:00
2026-05-21 13:09:42 -07:00
2026-02-27 22:18:53 +01:00
2026-05-21 13:09:42 -07:00
2024-01-04 11:53:38 +02:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2026-02-27 22:18:36 +01:00
2026-04-22 14:02:25 -05:00
2026-03-12 17:22:01 +01:00
2026-05-21 13:09:42 -07:00
2026-04-21 14:27:58 -05:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2024-06-27 10:50:17 +02:00
2026-04-22 14:02:25 -05:00
2026-02-27 22:18:53 +01:00
2026-04-22 14:02:25 -05:00
2026-05-21 13:09:42 -07:00
2026-04-22 14:02:25 -05:00
2022-03-23 19:05:29 +01:00
2026-05-18 00:05:10 +00:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2025-10-01 10:42:08 -04:00
2026-02-27 22:18:53 +01:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2026-05-20 14:24:47 +02:00
2026-04-22 14:02:25 -05:00
2024-01-04 11:53:38 +02:00
2026-05-20 14:24:47 +02:00
2026-05-20 14:24:47 +02:00
2026-04-22 14:02:25 -05:00
2026-05-20 14:24:47 +02:00
2026-02-27 22:18:36 +01:00
2025-09-01 12:33:04 +02:00
2026-05-20 14:24:47 +02:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2024-01-04 11:53:38 +02:00
2026-04-02 15:06:37 +02:00
2026-05-21 13:09:42 -07:00
2026-04-22 14:02:25 -05:00
2025-10-01 10:42:08 -04:00
2025-09-01 12:33:04 +02:00
2025-10-01 10:42:08 -04:00
2026-04-22 14:02:25 -05:00
2026-02-27 22:18:36 +01:00
2026-04-22 14:02:25 -05:00
2026-05-11 13:21:12 +05:30
2026-04-22 14:02:25 -05:00
2026-05-08 14:07:17 -04:00
2026-04-22 14:02:25 -05:00
2024-01-04 11:53:38 +02:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2024-01-04 11:53:38 +02:00
2024-01-04 11:53:38 +02:00
2026-04-22 14:02:25 -05:00
2024-01-04 11:53:38 +02:00
2024-01-04 11:53:38 +02:00
2026-05-21 13:09:42 -07:00
2025-10-01 10:42:08 -04:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2025-02-11 15:13:29 +00:00
2026-05-21 13:09:42 -07:00
2026-05-08 14:07:17 -04:00
2026-04-22 14:02:25 -05:00
2025-10-01 10:42:08 -04:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2024-01-04 11:53:38 +02:00
2026-04-22 14:02:25 -05:00
2026-02-27 22:18:36 +01:00
2026-04-22 14:02:25 -05:00
2026-05-16 19:03:34 +09:00
2026-02-27 22:18:36 +01:00
2026-05-18 00:05:10 +00:00
2026-04-22 14:02:25 -05:00
2026-05-08 14:07:17 -04:00
2026-05-08 14:07:17 -04:00
2026-04-22 14:02:25 -05:00
2026-04-17 10:00:32 -04:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2025-10-01 10:42:08 -04:00
2025-10-01 10:42:08 -04:00
2026-04-22 14:02:25 -05:00
2026-02-27 22:18:36 +01:00
2026-05-21 13:09:42 -07:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2024-01-04 11:53:38 +02:00
2024-01-04 11:53:38 +02:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00
2026-04-22 14:02:25 -05:00