mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
honor client context in IAM user/policy listing calls (#14682)
This commit is contained in:
@@ -2892,7 +2892,7 @@ func (c *SiteReplicationSys) SiteReplicationMetaInfo(ctx context.Context, objAPI
|
||||
}
|
||||
} else {
|
||||
// get users/group info on local.
|
||||
userInfoMap, errU := globalIAMSys.ListUsers()
|
||||
userInfoMap, errU := globalIAMSys.ListUsers(ctx)
|
||||
if errU != nil {
|
||||
return info, errSRBackendIssue(errU)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user