mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
functional-tester/agent: fix govet shadow in Go tip
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
2aa3decc38
commit
c9161b1f5c
@ -128,7 +128,8 @@ func (srv *Server) Transport(stream rpcpb.Transport_TransportServer) (err error)
|
|||||||
errc := make(chan error)
|
errc := make(chan error)
|
||||||
go func() {
|
go func() {
|
||||||
for {
|
for {
|
||||||
req, err := stream.Recv()
|
var req *rpcpb.Request
|
||||||
|
req, err = stream.Recv()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
errc <- err
|
errc <- err
|
||||||
// TODO: handle error and retry
|
// TODO: handle error and retry
|
||||||
|
Loading…
x
Reference in New Issue
Block a user