server: Change color codes for headings and sub-headings. (#2197)

This patch changes the color coding used for headings, sub-headings
and values as finalized.
This commit is contained in:
Harshavardhana
2016-07-13 00:56:00 -07:00
committed by Anand Babu (AB) Periasamy
parent dc3bafb194
commit 8c84df5e74
3 changed files with 18 additions and 26 deletions
-8
View File
@@ -19,7 +19,6 @@ package main
import (
"crypto/rand"
"encoding/base64"
"fmt"
"regexp"
)
@@ -29,13 +28,6 @@ type credential struct {
SecretAccessKey string `json:"secretKey"`
}
// stringer colorized access keys.
func (a credential) String() string {
accessStr := colorMagenta("AccessKey: ") + colorWhite(a.AccessKeyID)
secretStr := colorMagenta("SecretKey: ") + colorWhite(a.SecretAccessKey)
return fmt.Sprint(accessStr + " " + secretStr)
}
const (
minioAccessID = 20
minioSecretID = 40