mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 12:10:24 +03:00
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:
committed by
Anand Babu (AB) Periasamy
parent
dc3bafb194
commit
8c84df5e74
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user