mirror of
https://github.com/pgsty/minio.git
synced 2026-03-16 17:53:43 +01:00
Refactor HTTP transports (#16222)
This commit is contained in:
committed by
GitHub
parent
37e20f6ef2
commit
2d60bf8c50
@@ -66,7 +66,6 @@ import (
|
||||
"github.com/minio/minio/internal/crypto"
|
||||
"github.com/minio/minio/internal/hash"
|
||||
"github.com/minio/minio/internal/logger"
|
||||
"github.com/minio/minio/internal/rest"
|
||||
"github.com/minio/pkg/bucket/policy"
|
||||
)
|
||||
|
||||
@@ -112,7 +111,7 @@ func TestMain(m *testing.M) {
|
||||
// Initialize globalConsoleSys system
|
||||
globalConsoleSys = NewConsoleLogger(context.Background())
|
||||
|
||||
globalInternodeTransport = newInternodeHTTPTransport(nil, rest.DefaultTimeout)()
|
||||
globalInternodeTransport = NewInternodeHTTPTransport()()
|
||||
|
||||
initHelp()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user