mirror of
https://github.com/minio/minio.git
synced 2026-11-25 23:23:49 +00:00
xl/fs: cleanup '/.minio/tmp' directory on each initialization. (#1490)
This commit is contained in:
1 parent
ad40036cba
commit
46680788f9
4 files changed
+31
-11
No files matched your search
@@ -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