mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
Move etcd, logger, crypto into their own packages (#8366)
- Deprecates _MINIO_PROFILER, `mc admin profile` does the job - Move ENVs to common location in cmd/config/
This commit is contained in:
committed by
kannappanr
parent
bffc378a4f
commit
290ad0996f
@@ -529,11 +529,16 @@ func resetTestGlobals() {
|
||||
|
||||
// Configure the server for the test run.
|
||||
func newTestConfig(bucketLocation string, obj ObjectLayer) (err error) {
|
||||
// Initialize globalConsoleSys system
|
||||
globalConsoleSys = NewConsoleLogger(context.Background(), globalEndpoints)
|
||||
|
||||
// Initialize server config.
|
||||
if err = newSrvConfig(obj); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
globalServerConfig.Logger.Console.Enabled = false
|
||||
|
||||
// Set a default region.
|
||||
globalServerConfig.SetRegion(bucketLocation)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user