fix: startup load time by reusing storageDisks (#9210)

This commit is contained in:
Harshavardhana authored and GitHub committed 2020-03-27 14:48:30 -07:00
1 parent 0c80bf45d0
commit 6f992134a2
18 files changed
+287 -194

No files matched your search

+1 -1
View File
@@ -112,7 +112,7 @@ func TestFixFormatV3(t *testing.T) {
t.Fatal(err)
}
newFormats, errs := loadFormatXLAll(storageDisks)
newFormats, errs := loadFormatXLAll(storageDisks, false)
for _, err := range errs {
if err != nil && err != errUnformattedDisk {
t.Fatal(err)