mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
Fix incorrect error strings. (#2580)
This commit is contained in:
parent
2020afd200
commit
5716f1c199
@ -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'")
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user