diff options
Diffstat (limited to 'server/peer.go')
-rw-r--r-- | server/peer.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/peer.go b/server/peer.go index fef1aa07..67e2c437 100644 --- a/server/peer.go +++ b/server/peer.go @@ -344,7 +344,7 @@ func (peer *Peer) ToApiStruct() *api.Peer { } func (peer *Peer) setPolicy(policyMap map[string]*policy.Policy) { - // configure distribute policy + // configure in-policy policyConf := peer.conf.ApplyPolicy inPolicies := make([]*policy.Policy, 0) for _, policyName := range policyConf.ApplyPolicyConfig.InPolicy { @@ -352,9 +352,9 @@ func (peer *Peer) setPolicy(policyMap map[string]*policy.Policy) { "Topic": "Peer", "Key": peer.conf.NeighborConfig.NeighborAddress, "PolicyName": policyName, - }).Info("distribute policy installed") + }).Info("in-policy installed") if pol, ok := policyMap[policyName]; ok { - log.Debug("distribute policy : ", pol) + log.Debug("in policy : ", pol) inPolicies = append(inPolicies, pol) } } |