mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-07 15:20:25 +08:00
修复“迁移”功能中无法远程修改API节点访问地址的问题
This commit is contained in:
@@ -48,7 +48,7 @@ func (this *UpdateHostsAction) RunPost(params struct {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
this.FailField("host", "测试API节点时出错,请检查配置,错误信息:"+err.Error())
|
this.FailField("host", "测试API节点时出错,请检查配置,错误信息:"+err.Error())
|
||||||
}
|
}
|
||||||
_, err = client.APINodeRPC().FindCurrentAPINodeVersion(client.APIContext(0), &pb.FindCurrentAPINodeVersionRequest{})
|
_, err = client.APINodeRPC().FindCurrentAPINodeVersion(client.Context(0), &pb.FindCurrentAPINodeVersionRequest{})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
this.FailField("host", "无法连接此API节点,错误信息:"+err.Error())
|
this.FailField("host", "无法连接此API节点,错误信息:"+err.Error())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user