mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-31 10:17:43 +00:00
The first condition is checking an error where no error is returned and the second is checking even though err == nil was matched above already so we know the error is not nil here. Then also replace os.IsNotExist(err) with errors.Is(err, os.ErrNotExist) as that should be used for new code. This should not change behavior in any way. Signed-off-by: Paul Holzinger <pholzing@redhat.com> |
||
|---|---|---|
| .. | ||
| entities | ||
| filters | ||
| infra | ||
| utils | ||