mirror of
https://github.com/minio/minio.git
synced 2025-11-28 21:18:10 -05:00
XL: Bring in some modularity into format verification and healing. (#1832)
This commit is contained in:
@@ -33,7 +33,7 @@ func newObjectLayer(exportPaths []string) (ObjectLayer, error) {
|
||||
}
|
||||
// Initialize XL object layer.
|
||||
objAPI, err := newXLObjects(exportPaths)
|
||||
if err == errWriteQuorum {
|
||||
if err == errXLWriteQuorum {
|
||||
return objAPI, errors.New("Disks are different with last minio server run.")
|
||||
}
|
||||
return objAPI, err
|
||||
|
||||
Reference in New Issue
Block a user