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

master
Nitish Tiwari 5 years ago committed by Harshavardhana
parent bf9b619d86
commit 1cd801b2e9
  1. 2
      cmd/object-api-common.go

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

Loading…
Cancel
Save