fs/delete-object: fs.json filepath was incorrect. (#2448)

master
Krishna Srinivas 8 years ago committed by Harshavardhana
parent 8e2f64aea4
commit f2bffe6086
  1. 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…
Cancel
Save