mirror of
https://github.com/minio/minio.git
synced 2025-11-23 11:07:50 -05:00
fix: make single locks for both IAM and object-store (#9279)
Additionally add context support for IAM sub-system
This commit is contained in:
@@ -357,7 +357,7 @@ func (s *peerRESTServer) LoadUsersHandler(w http.ResponseWriter, r *http.Request
|
||||
return
|
||||
}
|
||||
|
||||
err := globalIAMSys.Load()
|
||||
err := globalIAMSys.Load(GlobalContext)
|
||||
if err != nil {
|
||||
s.writeErrorResponse(w, err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user