storage/xl: Return errVolumeAccessDenied if disks cannot be accessed. (#1621)

Fixes #1614
This commit is contained in:
Harshavardhana
2016-05-12 21:01:11 -07:00
parent d6e0f3ab33
commit b62774d32f
4 changed files with 58 additions and 43 deletions
+1 -1
View File
@@ -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
}