Incorrect error message for insufficient volume fix (#6099)
Reply back with appropriate error message when the server is spawn with volume of insufficient size (< 1GiB). Fixes #5993.
This commit is contained in:
committed by
kannappanr
parent
8bd7a19d50
commit
ea76e72054
@@ -76,6 +76,9 @@ var errBitrotHashAlgoInvalid = errors.New("bit-rot hash algorithm is invalid")
|
||||
// errCrossDeviceLink - rename across devices not allowed.
|
||||
var errCrossDeviceLink = errors.New("Rename across devices not allowed, please fix your backend configuration")
|
||||
|
||||
// errMinDiskSize - cannot create volume or files when disk size is less than threshold.
|
||||
var errMinDiskSize = errors.New("The disk size is less than the minimum threshold")
|
||||
|
||||
// hashMisMatchError - represents a bit-rot hash verification failure
|
||||
// error.
|
||||
type hashMismatchError struct {
|
||||
|
||||
Reference in New Issue
Block a user