mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-15 08:14:46 +08:00
增加邻居master服务发现功能
This commit is contained in:
@@ -112,7 +112,7 @@ func (agent *RpcAgent) Run() {
|
||||
for {
|
||||
data,err := agent.conn.ReadMsg()
|
||||
if err != nil {
|
||||
log.Error("read message: %v,remoteAddress:%s", err,agent.conn.RemoteAddr().String())
|
||||
log.Error("remoteAddress:%s,read message: %v,",agent.conn.RemoteAddr().String(),err)
|
||||
//will close tcpconn
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user