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

This commit is contained in:
polaris-megrez authored and GitHub committed 2022-04-19 09:00:19 -07:00
1 parent 598ce1e354
commit 6bc3c74c0c
3 files changed
+35 -21

No files matched your search

+1 -1
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)
}