spiegel_podman/cmd/podman/system
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
..
connection RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
check.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
connection.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
context.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
df.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
dial_stdio.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
hyperv_prep_windows.go Add command podman system hyperv-prep 2026-04-29 23:00:29 +02:00
info.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
locks.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
migrate.go Add migration code for BoltDB to SQLite 2026-05-08 14:07:17 -04:00
prune.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
renumber.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
reset.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
reset_machine.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
reset_machine_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
service.go Replace os.Is* error checks with errors.Is 2026-05-21 13:09:42 -07:00
service_abi.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
service_abi_common.go Remove slirp4netns from CLI and completions 2026-04-13 09:04:41 -04:00
service_abi_linux.go Remove slirp4netns from CLI and completions 2026-04-13 09:04:41 -04:00
system.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
unshare.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