Fix the server startup messages and help text. (#3211)

This commit is contained in:
Harshavardhana
2016-11-09 23:37:12 -08:00
committed by GitHub
parent 5741a53d46
commit 2f373684f5
15 changed files with 83 additions and 108 deletions

View File

@@ -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)))