mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
de-couple bucket metadata loading with lock context (#13679)
avoid passing lock context while loading bucket metadata, refactor such that we can de-couple things for subsystem loading.
This commit is contained in:
@@ -72,7 +72,7 @@ func prepareAdminErasureTestBed(ctx context.Context) (*adminErasureTestBed, erro
|
||||
|
||||
newAllSubsystems()
|
||||
|
||||
initAllSubsystems(ctx, objLayer)
|
||||
initConfigSubsystem(ctx, objLayer)
|
||||
|
||||
globalIAMSys.Init(ctx, objLayer, globalEtcdClient, 2*time.Second)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user