mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
lbagent: 改正agent参数变更校验
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user