mirror of https://github.com/minio/minio.git
fs/delete-object: fs.json filepath was incorrect. (#2448)
This commit is contained in:
parent
8e2f64aea4
commit
f2bffe6086
2
fs-v1.go
2
fs-v1.go
|
@ -481,7 +481,7 @@ func (fs fsObjects) DeleteObject(bucket, object string) error {
|
|||
if !IsValidObjectName(object) {
|
||||
return ObjectNameInvalid{Bucket: bucket, Object: object}
|
||||
}
|
||||
err := fs.storage.DeleteFile(minioMetaBucket, path.Join(bucketMetaPrefix, bucket, object))
|
||||
err := fs.storage.DeleteFile(minioMetaBucket, path.Join(bucketMetaPrefix, bucket, object, fsMetaJSONFile))
|
||||
if err != nil && err != errFileNotFound {
|
||||
return toObjectErr(err, bucket, object)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue