mirror of
https://github.com/pgsty/minio.git
synced 2026-03-16 01:26:03 +01:00
initialize IAM store before Init() to avoid any crash (#11236)
This commit is contained in:
@@ -356,9 +356,6 @@ func initAllSubsystems(ctx context.Context, newObject ObjectLayer) (err error) {
|
||||
logger.LogIf(ctx, fmt.Errorf("Unable to initialize config, some features may be missing %w", err))
|
||||
}
|
||||
|
||||
// Initialize IAM store
|
||||
globalIAMSys.InitStore(newObject)
|
||||
|
||||
// Populate existing buckets to the etcd backend
|
||||
if globalDNSConfig != nil {
|
||||
// Background this operation.
|
||||
|
||||
Reference in New Issue
Block a user