mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-13 03:40:27 +08:00
将api.yaml修改为api_admin.yaml
This commit is contained in:
@@ -43,7 +43,7 @@ func (this *UpgradeCheckAction) RunPost(params struct {
|
||||
}
|
||||
|
||||
var newAPIConfig = apiConfig.Clone()
|
||||
newAPIConfig.RPC.Endpoints = node.AccessAddrs
|
||||
newAPIConfig.RPCEndpoints = node.AccessAddrs
|
||||
rpcClient, err := rpc.NewRPCClient(newAPIConfig, false)
|
||||
if err != nil {
|
||||
this.Success()
|
||||
|
||||
Reference in New Issue
Block a user