log formatting only the first time (#8846)

This commit is contained in:
Harshavardhana
2020-01-17 15:39:07 -08:00
committed by GitHub
parent fc5213258e
commit 23e46f9dba
5 changed files with 12 additions and 11 deletions

View File

@@ -193,7 +193,7 @@ func prepareXLSets32() (ObjectLayer, []string, error) {
endpoints := append(endpoints1, endpoints2...)
fsDirs := append(fsDirs1, fsDirs2...)
format, err := waitForFormatXL(true, endpoints, 2, 16, "")
format, err := waitForFormatXL(true, endpoints, 1, 2, 16, "")
if err != nil {
removeRoots(fsDirs)
return nil, nil, err