mirror of
https://github.com/pgsty/minio.git
synced 2026-07-24 06:26:17 +03:00
Use isErrIgnored() function wherever applicable. (#3343)
This commit is contained in:
+1
-1
@@ -62,7 +62,7 @@ func (xl xlObjects) isObject(bucket, prefix string) (ok bool) {
|
||||
return true
|
||||
}
|
||||
// Ignore for file not found, disk not found or faulty disk.
|
||||
if isErrIgnored(err, xlTreeWalkIgnoredErrs) {
|
||||
if isErrIgnored(err, xlTreeWalkIgnoredErrs...) {
|
||||
continue
|
||||
}
|
||||
errorIf(err, "Unable to stat a file %s/%s/%s", bucket, prefix, xlMetaJSONFile)
|
||||
|
||||
Reference in New Issue
Block a user