lbagent: 改正agent参数变更校验

This commit is contained in:
Yousong Zhou
2019-08-07 09:16:02 +00:00
parent 694a91c24e
commit 22468ddebd
+1 -1
View File
@@ -110,7 +110,7 @@ func (p *AgentParams) Equals(p2 *AgentParams) bool {
keys := []string{"notify_script", "unicast_peer"}
for _, key := range keys {
v := p.GetVrrpParams(key)
v2 := p.GetVrrpParams(key)
v2 := p2.GetVrrpParams(key)
if !reflect.DeepEqual(v, v2) {
return false
}