Fix DeleteObject when only free versions remain (#16289)

This commit is contained in:
Krishnan Parthasarathi
2022-12-21 16:24:07 -08:00
committed by GitHub
parent 34167c51d5
commit 2fa35def2c
9 changed files with 95 additions and 13 deletions

View File

@@ -485,7 +485,7 @@ func BenchmarkXlMetaV2Shallow(b *testing.B) {
b.Fatal(err)
}
// List...
_, err = xl.ToFileInfo("volume", "path", ids[rng.Intn(size)])
_, err = xl.ToFileInfo("volume", "path", ids[rng.Intn(size)], false)
if err != nil {
b.Fatal(err)
}