mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
parent
c2ed1347d9
commit
324834e4da
@ -47,7 +47,7 @@ func toObjectErr(err error, params ...string) error {
|
||||
Object: params[1],
|
||||
}
|
||||
}
|
||||
case errIsNotRegular, errFileAccessDenied:
|
||||
case errIsNotRegular:
|
||||
if len(params) >= 2 {
|
||||
err = ObjectExistsAsDirectory{
|
||||
Bucket: params[0],
|
||||
|
Loading…
Reference in New Issue
Block a user