replication: document most important aspects of Endpoint interface

This commit is contained in:
Christian Schwarz
2018-08-26 15:12:43 +02:00
parent f6be5b776b
commit 7ff72fb6d9
3 changed files with 14 additions and 1 deletions

View File

@ -296,7 +296,6 @@ func (s Remote) Send(ctx context.Context, r *pdu.SendReq) (*pdu.SendRes, io.Read
rs.Close()
return nil, nil, err
}
// FIXME make sure the consumer will read the reader until the end...
return &res, rs, nil
}