mirror of
https://github.com/minio/minio.git
synced 2025-02-03 09:55:59 -05:00
parent
4a874dfbc1
commit
bd8d6e3c4e
@ -181,6 +181,15 @@ func b2ToObjectError(err error, params ...string) error {
|
|||||||
} else if bucket != "" {
|
} else if bucket != "" {
|
||||||
err = minio.BucketNotFound{Bucket: bucket}
|
err = minio.BucketNotFound{Bucket: bucket}
|
||||||
}
|
}
|
||||||
|
case "bad_json":
|
||||||
|
if object != "" {
|
||||||
|
err = minio.ObjectNameInvalid{
|
||||||
|
Bucket: bucket,
|
||||||
|
Object: object,
|
||||||
|
}
|
||||||
|
} else if bucket != "" {
|
||||||
|
err = minio.BucketNameInvalid{Bucket: bucket}
|
||||||
|
}
|
||||||
case "bad_bucket_id":
|
case "bad_bucket_id":
|
||||||
err = minio.BucketNotFound{Bucket: bucket}
|
err = minio.BucketNotFound{Bucket: bucket}
|
||||||
case "file_not_present", "not_found":
|
case "file_not_present", "not_found":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user