mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-25 19:56:35 +08:00
[集群]增加TOA相关设置
This commit is contained in:
@@ -27,9 +27,9 @@ func (this *HealthAction) RunGet(params struct {
|
||||
return
|
||||
}
|
||||
var config *serverconfigs.HealthCheckConfig = nil
|
||||
if len(configResp.HealthCheckConfig) > 0 {
|
||||
if len(configResp.HealthCheckJSON) > 0 {
|
||||
config = &serverconfigs.HealthCheckConfig{}
|
||||
err = json.Unmarshal(configResp.HealthCheckConfig, config)
|
||||
err = json.Unmarshal(configResp.HealthCheckJSON, config)
|
||||
if err != nil {
|
||||
this.ErrorPage(err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user