mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 04:30:26 +03:00
fix: data race, which caused tests execution to fail (#15313)
This commit is contained in:
+2
-1
@@ -590,7 +590,8 @@ func serverMain(ctx *cli.Context) {
|
|||||||
initBackgroundTransition(GlobalContext, newObject)
|
initBackgroundTransition(GlobalContext, newObject)
|
||||||
|
|
||||||
go func() {
|
go func() {
|
||||||
if err := globalTierConfigMgr.Init(GlobalContext, newObject); err != nil {
|
err := globalTierConfigMgr.Init(GlobalContext, newObject)
|
||||||
|
if err != nil {
|
||||||
logger.LogIf(GlobalContext, err)
|
logger.LogIf(GlobalContext, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user