mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
site replication: fix typo in meta collection (#15792)
This commit is contained in:
parent
3307aa1260
commit
be0d2537b7
@ -3392,7 +3392,7 @@ func (c *SiteReplicationSys) SiteReplicationMetaInfo(ctx context.Context, objAPI
|
||||
if opts.Groups || opts.Entity == madmin.SRGroupEntity {
|
||||
// Replicate policy mappings on local to all peers.
|
||||
groupPolicyMap := make(map[string]MappedPolicy)
|
||||
if opts.Entity == madmin.SRUserEntity {
|
||||
if opts.Entity == madmin.SRGroupEntity {
|
||||
if mp, ok := globalIAMSys.store.GetMappedPolicy(opts.EntityValue, true); ok {
|
||||
groupPolicyMap[opts.EntityValue] = mp
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user