mirror of
https://github.com/minio/minio.git
synced 2025-12-08 00:32:28 -05:00
add missing copyright on testfile (#13691)
remove fsSimpleRenameFile implementation for Rename()
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user