spiegel_podman/pkg/api/handlers/compat
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
..
auth.go API Handlers should not error on empty request bodies 2026-05-13 16:33:40 -04:00
changes.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers.go API Handlers should not error on empty request bodies 2026-05-13 16:33:40 -04:00
containers_archive.go Replace os.Is* error checks with errors.Is 2026-05-21 13:09:42 -07:00
containers_attach.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_create.go Replace os.Is* error checks with errors.Is 2026-05-21 13:09:42 -07:00
containers_export.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_logs.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_pause.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_prune.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_restart.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_start.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_stats.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_stats_freebsd.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_stats_linux.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_stop.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_top.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_unpause.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
events.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
exec.go API Handlers should not error on empty request bodies 2026-05-13 16:33:40 -04:00
images.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
images_build.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
images_history.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
images_prune.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
images_push.go api: emit aux trailer with manifest digest on image push 2026-05-13 13:23:16 +03:00
images_remove.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
images_save.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
images_search.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
images_tag.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
info.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
networks.go API Handlers should not error on empty request bodies 2026-05-13 16:33:40 -04:00
ping.go RUN-4538: Fix buildah vendoring 2026-04-21 14:27:58 -05:00
resize.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
secrets.go API Handlers should not error on empty request bodies 2026-05-13 16:33:40 -04:00
system.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types.go api/compat: switch to moby/moby 2026-03-09 11:09:23 +01:00
unsupported.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
version.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
volumes.go Merge pull request #28673 from kyounghunJang/feat/add-volume-prune-dry-run 2026-05-18 19:26:18 +02:00