mirror of
https://github.com/pgsty/minio.git
synced 2026-08-09 15:53:28 +03:00
storage/xl: Return errVolumeAccessDenied if disks cannot be accessed. (#1621)
Fixes #1614
This commit is contained in:
@@ -312,7 +312,7 @@ func listMetaBucketMultipartFiles(layer ObjectLayer, prefixPath string, markerPa
|
||||
"marker": markerPath,
|
||||
"recursive": recursive,
|
||||
}).Debugf("Walk resulted in an error %s", walkResult.err)
|
||||
// 'File not found' or 'Disk not found' is a valid case.
|
||||
// File not found or Disk not found is a valid case.
|
||||
if walkResult.err == errFileNotFound || walkResult.err == errDiskNotFound {
|
||||
return nil, true, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user