mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
add missing STS accounts loading (#20279)
PR #20268 missed loading STS accounts map properly
This commit is contained in:
@@ -2865,6 +2865,10 @@ func (store *IAMStoreSys) LoadUser(ctx context.Context, accessKey string) error
|
||||
cache.iamUsersMap[k] = v
|
||||
}
|
||||
|
||||
for k, v := range newCache.iamSTSAccountsMap {
|
||||
cache.iamSTSAccountsMap[k] = v
|
||||
}
|
||||
|
||||
newCache.iamSTSPolicyMap.Range(func(k string, v MappedPolicy) bool {
|
||||
cache.iamSTSPolicyMap.Store(k, v)
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user