全局配置有变化时也提示更新集群

This commit is contained in:
GoEdgeLab
2020-11-02 10:45:14 +08:00
parent 39459a2d13
commit a3922492ac

View File

@@ -65,5 +65,12 @@ func (this *IndexAction) RunPost(params struct {
return
}
// 通知更新
_, err = this.RPC().ServerRPC().NotifyServersChange(this.AdminContext(), &pb.NotifyServersChangeRequest{})
if err != nil {
this.ErrorPage(err)
return
}
this.Success()
}