gd/dm: fix error message
The parameter name was wrong, which may mislead a user. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> (cherry picked from commit c378fb774e413ba8bf5cadf655d2b67e9c94245a) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: c9ddc6effc444c54def41d498b359a9a986ad79d Component: engine
This commit is contained in:
committed by
Sebastiaan van Stijn
parent
475e03f71a
commit
1fc8f05911
@ -27,7 +27,7 @@ type directLVMConfig struct {
|
||||
var (
|
||||
errThinpPercentMissing = errors.New("must set both `dm.thinp_percent` and `dm.thinp_metapercent` if either is specified")
|
||||
errThinpPercentTooBig = errors.New("combined `dm.thinp_percent` and `dm.thinp_metapercent` must not be greater than 100")
|
||||
errMissingSetupDevice = errors.New("must provide device path in `dm.setup_device` in order to configure direct-lvm")
|
||||
errMissingSetupDevice = errors.New("must provide device path in `dm.directlvm_device` in order to configure direct-lvm")
|
||||
)
|
||||
|
||||
func validateLVMConfig(cfg directLVMConfig) error {
|
||||
|
||||
Reference in New Issue
Block a user