This commit is contained in:
wangchuxiao
2022-05-29 19:44:22 +08:00
parent 8967343079
commit c0a3bdcf99
9 changed files with 20 additions and 10 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ func (rpc *rpcAuth) Run() {
log.Error("", "GetLocalIP failed ", err.Error())
}
}
log.NewInfo("", "rpcRegisterIP", rpcRegisterIP)
err = getcdv3.RegisterEtcd(rpc.etcdSchema, strings.Join(rpc.etcdAddr, ","), rpcRegisterIP, rpc.rpcPort, rpc.rpcRegisterName, 10)
if err != nil {
log.NewError(operationID, "RegisterEtcd failed ", err.Error(),