mirror of
https://github.com/minio/minio.git
synced 2026-11-05 16:31:29 +00:00
Fix FS remove bucket regression bug (#2693)
This commit is contained in:
1 parent
19e01ceb19
commit
a84548d7ea
3 files changed
+9
-9
No files matched your search
@@ -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