mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 14:10:25 +03:00
Add --json output formatter for server
This commit is contained in:
+2
-2
@@ -42,8 +42,8 @@ func colorizeMessage(message string) string {
|
||||
|
||||
terminal, err := ts.GetSize()
|
||||
if err != nil {
|
||||
globalJSONFlag = true
|
||||
return ""
|
||||
// no coloring needed just send as is
|
||||
return message
|
||||
}
|
||||
var msg string
|
||||
switch {
|
||||
|
||||
Reference in New Issue
Block a user