mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
fix: use common logging implementation for DNSCache (#11284)
This commit is contained in:
@@ -107,7 +107,7 @@ func TestMain(m *testing.M) {
|
||||
// Initialize globalConsoleSys system
|
||||
globalConsoleSys = NewConsoleLogger(context.Background())
|
||||
|
||||
globalDNSCache = xhttp.NewDNSCache(3*time.Second, 10*time.Second)
|
||||
globalDNSCache = xhttp.NewDNSCache(3*time.Second, 10*time.Second, logger.LogOnceIf)
|
||||
|
||||
globalInternodeTransport = newInternodeHTTPTransport(nil, rest.DefaultTimeout)()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user