mirror of
https://github.com/minio/minio.git
synced 2026-11-24 15:19:55 +00:00
XL/fs: DeleteVol should not return error cleaning multipart dir for errVolumeNotFound (#2188)
This commit is contained in:
1 parent
0fddf3fe17
commit
5cd629adca
2 files changed
+2
-2
No files matched your search
@@ -204,7 +204,7 @@ func (fs fsObjects) DeleteBucket(bucket string) error {
|
||||
return toObjectErr(err, bucket)
|
||||
}
|
||||
// Cleanup all the previously incomplete multiparts.
|
||||
if err := cleanupDir(fs.storage, path.Join(minioMetaBucket, mpartMetaPrefix), bucket); err != nil {
|
||||
if err := cleanupDir(fs.storage, path.Join(minioMetaBucket, mpartMetaPrefix), bucket); err != nil && err != errVolumeNotFound {
|
||||
return toObjectErr(err, bucket)
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user