Fixing small typo during login error (#522)

This commit is contained in:
Lenin Alevski
2020-12-16 14:41:27 -06:00
committed by GitHub
parent 8b34b81a61
commit 40812fc086

View File

@@ -323,7 +323,7 @@ func newConsoleCredentials(accessKey, secretKey, location string) (*credentials.
default: default:
{ {
if MinioEndpoint == "" || accessKey == "" || secretKey == "" { 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{ opts := credentials.STSAssumeRoleOptions{
AccessKey: accessKey, AccessKey: accessKey,