Fix incorrect error strings. (#2580)

This commit is contained in:
Harshavardhana 2016-08-30 13:47:09 -07:00 committed by GitHub
parent 2020afd200
commit 5716f1c199
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ import "errors"
var errXLMaxDisks = errors.New("Number of disks are higher than supported maximum count '16'")
// errXLMinDisks - returned for minimum number of disks.
var errXLMinDisks = errors.New("Minimum '6' disks are required to enable erasure code")
var errXLMinDisks = errors.New("Minimum '4' disks are required to enable erasure code")
// errXLNumDisks - returned for odd number of disks.
var errXLNumDisks = errors.New("Total number of disks should be multiples of '2'")

View File

@ -134,7 +134,7 @@ func newXLObjects(disks, ignoredDisks []string) (ObjectLayer, error) {
// Initialize meta volume, if volume already exists ignores it.
if err := initMetaVolume(storageDisks); err != nil {
return nil, fmt.Errorf("Unable to initialize '.minio' meta volume, %s", err)
return nil, fmt.Errorf("Unable to initialize '.minio.sys' meta volume, %s", err)
}
// Handles different cases properly.