XL/fs: Initialize export paths supplied on command line (#2020)

Fixes #2013
This commit is contained in:
Harshavardhana
2016-06-29 03:13:44 -07:00
committed by Anand Babu (AB) Periasamy
parent 8e8f6f90a4
commit 0e3907072c
6 changed files with 101 additions and 4 deletions
+3 -1
View File
@@ -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
}