提交 761c0fae 编写于 作者: U Ulric Qin

code refactor

上级 8f40b87b
......@@ -107,7 +107,7 @@ func rpcCall(addr string, items []*dataobj.MetricValue) (dataobj.TransferResp, e
if err != nil {
rpcClients.Put(addr, nil)
client.Close()
return reply, err
return reply, fmt.Errorf("%s rpc call done, but fail: %v", addr, err)
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册