Merge PR #1227: Set all Error strings 1st letters to lowercase. Fixes issue #1154

This commit is contained in:
David Kajpust
2018-06-13 21:13:22 +02:00
committed by Christopher Goes
parent 157047c8a3
commit ec2fedd36c
28 changed files with 107 additions and 107 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ func GetPassword(prompt string, buf *bufio.Reader) (pass string, err error) {
return "", err
}
if len(pass) < MinPassLength {
return "", errors.Errorf("Password must be at least %d characters", MinPassLength)
return "", errors.Errorf("password must be at least %d characters", MinPassLength)
}
return pass, nil
}
@@ -68,7 +68,7 @@ func GetCheckPassword(prompt, prompt2 string, buf *bufio.Reader) (string, error)
return "", err
}
if pass != pass2 {
return "", errors.New("Passphrases don't match")
return "", errors.New("passphrases don't match")
}
return pass, nil
}