mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 21:50:22 +03:00
Bring nicer ui error if creds are missing in Gateway (#6003)
This commit is contained in:
committed by
kannappanr
parent
69b9d6fbee
commit
537fd8c821
@@ -54,6 +54,12 @@ var (
|
||||
Secret key should be in between 8 and 40 characters.`,
|
||||
)
|
||||
|
||||
uiErrEnvCredentialsMissing = newUIErrFn(
|
||||
"Credentials missing",
|
||||
"Please provide correct credentials",
|
||||
`Access key and Secret key should be specified in Gateway mode from environment variables MINIO_ACCESS_KEY and MINIO_SECRET_KEY respectively.`,
|
||||
)
|
||||
|
||||
uiErrInvalidErasureEndpoints = newUIErrFn(
|
||||
"Invalid endpoint(s) in erasure mode",
|
||||
"Please provide correct combination of local/remote paths",
|
||||
|
||||
Reference in New Issue
Block a user