mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
allow healing to prefer local disks over remote (#17788)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user