mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-24 17:35:01 +01:00
parent
8fee536260
commit
936ed73a45
@ -241,7 +241,7 @@ func (s *Server) serveConnRequest(ctx context.Context, endpoint string, c *strea
|
|||||||
err := c.SendStream(ctx, sendStream, ZFSStream)
|
err := c.SendStream(ctx, sendStream, ZFSStream)
|
||||||
closeErr := sendStream.Close()
|
closeErr := sendStream.Close()
|
||||||
if closeErr != nil {
|
if closeErr != nil {
|
||||||
s.log.WithError(err).Error("cannot close send stream")
|
s.log.WithError(closeErr).Error("cannot close send stream")
|
||||||
}
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
s.log.WithError(err).Error("cannot write send stream")
|
s.log.WithError(err).Error("cannot write send stream")
|
||||||
|
Loading…
Reference in New Issue
Block a user