mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 21:50:22 +03:00
xl/fs: cleanup '/.minio/tmp' directory on each initialization. (#1490)
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
ad40036cba
commit
46680788f9
@@ -100,7 +100,8 @@ func (fs fsObjects) CompleteMultipartUpload(bucket string, object string, upload
|
||||
}
|
||||
|
||||
// Cleanup all the parts.
|
||||
if err = cleanupUploadedParts(fs.storage, mpartMetaPrefix, bucket, object, uploadID); err != nil {
|
||||
recursive := false
|
||||
if err = cleanupUploadedParts(fs.storage, mpartMetaPrefix, bucket, object, uploadID, recursive); err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user