honor client context in IAM user/policy listing calls (#14682)

This commit is contained in:
polaris-megrez
2022-04-20 00:00:19 +08:00
committed by GitHub
parent 598ce1e354
commit 6bc3c74c0c
3 changed files with 35 additions and 21 deletions

View File

@@ -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)
}