mirror of
https://github.com/minio/minio.git
synced 2026-02-04 18:00:15 -05:00
clarify error message for root user credential (#20043)
Signed-off-by: Austin Chang <austin880625@gmail.com>
This commit is contained in:
@@ -73,6 +73,12 @@ var (
|
||||
`Access key length should be at least 3, and secret key length at least 8 characters`,
|
||||
)
|
||||
|
||||
ErrInvalidRootUserCredentials = newErrFn(
|
||||
"Invalid credentials",
|
||||
"Please provide correct credentials",
|
||||
EnvRootUser+` length should be at least 3, and `+EnvRootPassword+` length at least 8 characters`,
|
||||
)
|
||||
|
||||
ErrMissingEnvCredentialRootUser = newErrFn(
|
||||
"Missing credential environment variable, \""+EnvRootUser+"\"",
|
||||
"Environment variable \""+EnvRootUser+"\" is missing",
|
||||
|
||||
Reference in New Issue
Block a user