Fix incorrect error strings. (#2580)

master
Harshavardhana 8 years ago committed by GitHub
parent 2020afd200
commit 5716f1c199
  1. 2
      cmd/xl-v1-errors.go
  2. 2
      cmd/xl-v1.go

@ -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…
Cancel
Save