Fix DeleteObjects() to remove renamed objects inside (#8072)

This commit is contained in:
Nitish Tiwari 2019-08-14 23:45:25 +05:30 committed by Harshavardhana
parent bf9b619d86
commit 1cd801b2e9

View file

@ -185,7 +185,7 @@ func cleanupObjectsBulk(ctx context.Context, storage StorageAPI, volume string,
if errs[idx] != nil {
continue
}
output, err := traverse(objPath)
output, err := traverse(retainSlash(pathJoin(objPath)))
if err != nil {
errs[idx] = err
continue