spiegel_podman/pkg/bindings/test
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
..
fixture Add guard for BuildOptions.CommonBuildOpts 2021-09-30 14:30:06 -07:00
api_response_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
attach_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
auth_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
common_test.go Replace os.Is* error checks with errors.Is 2026-05-21 13:09:42 -07:00
connection_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
create_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
exec_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
generator_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
images_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
info_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
manifests_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
networks_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
pods_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
resource_test.go Replace os.Is* error checks with errors.Is 2026-05-21 13:09:42 -07:00
secrets_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
system_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
test_suite_test.go update to ginkgo v2 2023-05-02 11:27:35 +02:00
types_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
volumes_test.go volume prune: add dry-run support 2026-05-16 19:03:34 +09:00