Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup: Replace use of os.IsNotExist(err) with errors.Is(err, fs.ErrNotExist) #1245

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

gibmat
Copy link
Collaborator

@gibmat gibmat commented Sep 23, 2024

os.IsNotExist(err) is deprecated in favor of errors.Is(err, fs.ErrNotExist).

…NotExist)

Signed-off-by: Mathias Gibbens <mathias.gibbens@futurfusion.io>
@stgraber stgraber merged commit e7a7a94 into lxc:main Sep 23, 2024
27 of 30 checks passed
@gibmat gibmat deleted the cleanup-old-os-isnotexist branch September 23, 2024 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants