forked from TrueCloudLab/certificates
Fix error message when --kms is not passed.
This commit is contained in:
parent
d03c088ab7
commit
3648c3fab6
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ type Config struct {
|
|||
func (c *Config) Validate() error {
|
||||
switch {
|
||||
case c.KMS == "":
|
||||
return errors.New("one of flag `--kms` is required")
|
||||
return errors.New("flag `--kms` is required")
|
||||
case c.RootFile != "" && c.KeyFile == "":
|
||||
return errors.New("flag `--root` requires flag `--key`")
|
||||
case c.KeyFile != "" && c.RootFile == "":
|
||||
|
|
Loading…
Reference in a new issue