mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-06 10:00:24 +08:00
优化代码
This commit is contained in:
@@ -45,7 +45,7 @@ func (this *HealthCheckClusterTask) Reset(config *serverconfigs.HealthCheckConfi
|
||||
this.logErr("HealthCheckClusterTask", err.Error())
|
||||
return
|
||||
}
|
||||
if bytes.Compare(oldJSON, newJSON) != 0 {
|
||||
if !bytes.Equal(oldJSON, newJSON) {
|
||||
this.config = config
|
||||
this.Run()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user