mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
fix: IAM initialization crash with etcd store (#13612)
This commit is contained in:
parent
acf26c5ab7
commit
8dfd1f03e9
@ -70,7 +70,11 @@ type IAMEtcdStore struct {
|
||||
}
|
||||
|
||||
func newIAMEtcdStore(client *etcd.Client, usersSysType UsersSysType) *IAMEtcdStore {
|
||||
return &IAMEtcdStore{client: client, usersSysType: usersSysType}
|
||||
return &IAMEtcdStore{
|
||||
iamCache: newIamCache(),
|
||||
client: client,
|
||||
usersSysType: usersSysType,
|
||||
}
|
||||
}
|
||||
|
||||
func (ies *IAMEtcdStore) rlock() *iamCache {
|
||||
|
Loading…
Reference in New Issue
Block a user