mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 04:30:26 +03:00
Fix FS remove bucket regression bug (#2693)
This commit is contained in:
committed by
Harshavardhana
parent
19e01ceb19
commit
a84548d7ea
@@ -216,7 +216,8 @@ func cleanupDir(storage StorageAPI, volume, dirPath string) error {
|
||||
delFunc = func(entryPath string) error {
|
||||
if !strings.HasSuffix(entryPath, slashSeparator) {
|
||||
// Delete the file entry.
|
||||
return storage.DeleteFile(volume, entryPath)
|
||||
err := storage.DeleteFile(volume, entryPath)
|
||||
return traceError(err)
|
||||
}
|
||||
|
||||
// If it's a directory, list and call delFunc() for each entry.
|
||||
|
||||
Reference in New Issue
Block a user