mirror of
https://github.com/pgsty/minio.git
synced 2026-08-10 08:13:28 +03:00
XL/fs: Initialize export paths supplied on command line (#2020)
Fixes #2013
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
8e8f6f90a4
commit
0e3907072c
@@ -128,7 +128,9 @@ func newXLObjects(disks []string) (ObjectLayer, error) {
|
||||
// Attempt to load all `format.json`.
|
||||
formatConfigs, sErrs := loadAllFormats(storageDisks)
|
||||
|
||||
// Generic format check validates all necessary cases.
|
||||
// Generic format check validates
|
||||
// if (no quorum) return error
|
||||
// if (disks not recognized) // Always error.
|
||||
if err := genericFormatCheck(formatConfigs, sErrs); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user