add missing copyright on testfile (#13691)

remove fsSimpleRenameFile implementation for Rename()
This commit is contained in:
Harshavardhana
2021-11-18 16:09:12 -08:00
committed by GitHub
parent 54e25a0251
commit 7700973538
4 changed files with 21 additions and 48 deletions

View File

@@ -580,7 +580,7 @@ func (fs *FSObjects) DeleteBucket(ctx context.Context, bucket string, opts Delet
}
} else {
tmpBucketPath := pathJoin(fs.fsPath, minioMetaTmpBucket, bucket+"."+mustGetUUID())
if err = fsSimpleRenameFile(ctx, bucketDir, tmpBucketPath); err != nil {
if err = Rename(bucketDir, tmpBucketPath); err != nil {
return toObjectErr(err, bucket)
}