Merge pull request #17941 from Luap99/fix-IsNotExist-check

fix os.IsNotExist() CI check
This commit is contained in:
OpenShift Merge Robot
2023-03-27 15:26:43 -04:00
committed by GitHub

View File

@ -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\\("