mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
log: Do not interpret verbs in object names in console output (#16233)
This commit is contained in:
@@ -38,7 +38,14 @@ var (
|
||||
return fmt.Sprintf
|
||||
}()
|
||||
|
||||
RedBold = func() func(format string, a ...interface{}) string {
|
||||
RedBold = func() func(a ...interface{}) string {
|
||||
if IsTerminal() {
|
||||
return color.New(color.FgRed, color.Bold).SprintFunc()
|
||||
}
|
||||
return fmt.Sprint
|
||||
}()
|
||||
|
||||
RedBoldf = func() func(format string, a ...interface{}) string {
|
||||
if IsTerminal() {
|
||||
return color.New(color.FgRed, color.Bold).SprintfFunc()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user