mirror of
https://github.com/minio/minio.git
synced 2025-11-28 05:04:14 -05:00
XL/fs: DeleteVol should not return error cleaning multipart dir for errVolumeNotFound (#2188)
This commit is contained in:
committed by
Harshavardhana
parent
0fddf3fe17
commit
5cd629adca
@@ -247,7 +247,7 @@ func (xl xlObjects) DeleteBucket(bucket string) error {
|
||||
}
|
||||
// Cleanup all the previously incomplete multiparts.
|
||||
err = cleanupDir(disk, path.Join(minioMetaBucket, mpartMetaPrefix), bucket)
|
||||
if err != nil {
|
||||
if err != nil && err != errVolumeNotFound {
|
||||
dErrs[index] = err
|
||||
}
|
||||
}(index, disk)
|
||||
|
||||
Reference in New Issue
Block a user