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:
Harshavardhana
2021-11-17 13:42:08 -08:00
committed by GitHub
parent 4caed7cc0d
commit 20c43c447d
5 changed files with 44 additions and 40 deletions

View File

@@ -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)