allow healing to prefer local disks over remote (#17788)

This commit is contained in:
Harshavardhana
2023-08-03 02:18:18 -07:00
committed by GitHub
parent 4a4950fe41
commit 45fb375c41
3 changed files with 9 additions and 3 deletions

View File

@@ -132,7 +132,7 @@ func TestErasureHeal(t *testing.T) {
}
// test case setup is complete - now call Heal()
err = erasure.Heal(context.Background(), staleWriters, readers, test.size)
err = erasure.Heal(context.Background(), staleWriters, readers, test.size, nil)
closeBitrotReaders(readers)
closeBitrotWriters(staleWriters)
if err != nil && !test.shouldFail {