diff --git a/cmd/object-api-common.go b/cmd/object-api-common.go index 4ba3603d0..0acdd2ac9 100644 --- a/cmd/object-api-common.go +++ b/cmd/object-api-common.go @@ -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