mirror of
https://github.com/pgsty/minio.git
synced 2026-07-15 16:30:29 +03:00
fs: Handle cases of PutObject for an existing prefix. (#1478)
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ func toObjectErr(err error, params ...string) error {
|
||||
return StorageInsufficientReadResources{}
|
||||
case errWriteQuorum:
|
||||
return StorageInsufficientWriteResources{}
|
||||
case errIsNotRegular:
|
||||
case errIsNotRegular, errFileAccessDenied:
|
||||
if len(params) >= 2 {
|
||||
return ObjectExistsAsPrefix{
|
||||
Bucket: params[0],
|
||||
|
||||
Reference in New Issue
Block a user