Improve access and secret key validation error, sync with implementation (#8516)

This commit is contained in:
Ville Skyttä 2019-11-15 00:47:35 +02:00 committed by kannappanr
parent 32c200fe12
commit 95e5d7a9c3

View File

@ -93,8 +93,7 @@ var (
ErrInvalidCredentials = newErrFn(
"Invalid credentials",
"Please provide correct credentials",
`Access key length should be between minimum 3 characters in length.
Secret key should be in between 8 and 40 characters`,
`Access key length should be at least 3, and secret key length at least 8 characters`,
)
ErrEnvCredentialsMissingGateway = newErrFn(