mirror of
https://github.com/minio/minio.git
synced 2025-11-08 21:24:55 -05:00
Fix the server startup messages and help text. (#3211)
This commit is contained in:
@@ -74,7 +74,7 @@ func printServerCommonMsg(endPoints []string) {
|
||||
console.Println(colorBlue("\nEndpoint: ") + colorBold(fmt.Sprintf(getFormatStr(len(endPointStr), 1), endPointStr)))
|
||||
console.Println(colorBlue("AccessKey: ") + colorBold(fmt.Sprintf("%s ", cred.AccessKeyID)))
|
||||
secretKey := cred.SecretAccessKey
|
||||
if os.Getenv("MINIO_SECURE_CONSOLE") == "0" {
|
||||
if strings.EqualFold(os.Getenv("MINIO_SECURE_CONSOLE"), "no") {
|
||||
secretKey = "*REDACTED*"
|
||||
}
|
||||
console.Println(colorBlue("SecretKey: ") + colorBold(fmt.Sprintf("%s ", secretKey)))
|
||||
|
||||
Reference in New Issue
Block a user