mirror of https://github.com/minio/minio.git
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