mirror of
https://github.com/minio/minio.git
synced 2025-11-26 04:26:12 -05:00
xl: Enable a subset of tests for XL branch. (#1359)
This commit is contained in:
committed by
Harshavardhana
parent
8c85815106
commit
cab6805f09
@@ -40,16 +40,16 @@ func toObjectErr(err error, params ...string) error {
|
||||
return StorageInsufficientReadResources{}
|
||||
case errWriteQuorum:
|
||||
return StorageInsufficientWriteResources{}
|
||||
case errFileNotFound:
|
||||
case errIsNotRegular:
|
||||
if len(params) >= 2 {
|
||||
return ObjectNotFound{
|
||||
return ObjectExistsAsPrefix{
|
||||
Bucket: params[0],
|
||||
Object: params[1],
|
||||
}
|
||||
}
|
||||
case errIsNotRegular:
|
||||
case errFileNotFound:
|
||||
if len(params) >= 2 {
|
||||
return ObjectExistsAsPrefix{
|
||||
return ObjectNotFound{
|
||||
Bucket: params[0],
|
||||
Object: params[1],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user