mirror of
https://github.com/minio/minio.git
synced 2025-04-16 17:00:07 -04:00
fix shadowing issue in logger (#5830)
This commit is contained in:
parent
ed5f2d899d
commit
c332b4fb5e
@ -28,7 +28,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/fatih/color"
|
"github.com/fatih/color"
|
||||||
"github.com/minio/mc/pkg/console"
|
c "github.com/minio/mc/pkg/console"
|
||||||
)
|
)
|
||||||
|
|
||||||
// global colors.
|
// global colors.
|
||||||
@ -376,7 +376,7 @@ func (i infoMsg) quiet(msg string, args ...interface{}) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (i infoMsg) pretty(msg string, args ...interface{}) {
|
func (i infoMsg) pretty(msg string, args ...interface{}) {
|
||||||
console.Printf(msg, args...)
|
c.Printf(msg, args...)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Info :
|
// Info :
|
||||||
@ -396,7 +396,7 @@ func (s startUpMsg) quiet(msg string, args ...interface{}) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s startUpMsg) pretty(msg string, args ...interface{}) {
|
func (s startUpMsg) pretty(msg string, args ...interface{}) {
|
||||||
console.Printf(msg, args...)
|
c.Printf(msg, args...)
|
||||||
}
|
}
|
||||||
|
|
||||||
// StartupMessage :
|
// StartupMessage :
|
||||||
|
Loading…
x
Reference in New Issue
Block a user