mirror of
https://github.com/minio/minio.git
synced 2026-11-13 14:44:19 +00:00
site replication: fix typo in meta collection (#15792)
This commit is contained in:
1 parent
3307aa1260
commit
be0d2537b7
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user