mirror of
https://github.com/pgsty/minio.git
synced 2026-08-06 07:41:16 +03: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:
@@ -44,7 +44,7 @@ func TestCheckValid(t *testing.T) {
|
||||
|
||||
newAllSubsystems()
|
||||
|
||||
initAllSubsystems(ctx, objLayer)
|
||||
initConfigSubsystem(ctx, objLayer)
|
||||
|
||||
globalIAMSys.Init(ctx, objLayer, globalEtcdClient, 2*time.Second)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user