mirror of
https://github.com/containers/podman.git
synced 2025-06-20 00:51:16 +08:00
Merge pull request #17941 from Luap99/fix-IsNotExist-check
fix os.IsNotExist() CI check
This commit is contained in:
@ -59,5 +59,5 @@ check_diffs \
|
||||
"^(\\+[^#]+io/ioutil)|(\\+.+ioutil\\..+)"
|
||||
|
||||
check_diffs \
|
||||
"use of os.IsNotExists(err) vs recommended errors.Is(err, os.ErrNotExist)" \
|
||||
"^\\+[^#]*os\\.IsNotExists\\("
|
||||
"use of os.IsNotExist(err) vs recommended errors.Is(err, fs.ErrNotExist)" \
|
||||
"^\\+[^#]*os\\.IsNotExist\\("
|
||||
|
Reference in New Issue
Block a user