From 95e5d7a9c34ff80f12e2109fa67c4bf3683f3865 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Fri, 15 Nov 2019 00:47:35 +0200 Subject: [PATCH] Improve access and secret key validation error, sync with implementation (#8516) --- cmd/config/errors.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/config/errors.go b/cmd/config/errors.go index 37376a1c5..9244b6056 100644 --- a/cmd/config/errors.go +++ b/cmd/config/errors.go @@ -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(