CI: Check for IsNotExists
#15913
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
CI Should check for
os.IsNotExists(err)
versus the recommendederrors.Is(err, os.ErrNotExist)
Steps to reproduce the issue:
os.IsNotExists(err)
Describe the results you received:
CI Passes
Describe the results you expected:
CI Should fail early with a recommendation to use
errors.Is(err, os.ErrNotExist)
Additional information you deem important (e.g. issue happens only occasionally):
Ref: #15893 (comment)
Output of
podman version
:N/A
Output of
podman info
:N/A
Package info (e.g. output of
rpm -q podman
orapt list podman
):N/A
Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
N/A
The text was updated successfully, but these errors were encountered: