From 40812fc086151ed69206259f48e35444dbb7e2a1 Mon Sep 17 00:00:00 2001 From: Lenin Alevski Date: Wed, 16 Dec 2020 14:41:27 -0600 Subject: [PATCH] Fixing small typo during login error (#522) --- restapi/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restapi/client.go b/restapi/client.go index 310b43bbd..92e91b77b 100644 --- a/restapi/client.go +++ b/restapi/client.go @@ -323,7 +323,7 @@ func newConsoleCredentials(accessKey, secretKey, location string) (*credentials. default: { if MinioEndpoint == "" || accessKey == "" || secretKey == "" { - return nil, errors.New("creredentials endpont, access and secretkey are mandatory for AssumeRoleSTS") + return nil, errors.New("credentials endpoint, access and secret key are mandatory for AssumeRoleSTS") } opts := credentials.STSAssumeRoleOptions{ AccessKey: accessKey,