1
0
mirror of https://github.com/gluster/glusterd2.git synced 2026-02-05 12:45:38 +01:00
Files
glusterd2/plugins/rebalance/errors.go
Madhu Rajanna e010dd6fdb format error strings: error strings should not
be capitalized,make first letter as lower case

Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2018-06-20 16:21:29 +05:30

15 lines
472 B
Go

package rebalance
import (
"errors"
)
var (
// ErrVolNotDistribute : Cannot run rebalance on a non distribute volume
ErrVolNotDistribute = errors.New("not a distribute volume")
// ErrRebalanceNotStarted : Rebalance not started on the volume
ErrRebalanceNotStarted = errors.New("rebalance not started")
// ErrRebalanceInvalidOption : Invalid option provided to the rebalance start command
ErrRebalanceInvalidOption = errors.New("invalid Rebalance start option")
)