client: don't spin on read errors

This commit is contained in:
Michael Schurter
2018-04-30 16:16:39 -07:00
parent 63dad441b4
commit cafcb89394

View File

@@ -429,8 +429,8 @@ func (f *FileSystem) logs(conn io.ReadWriteCloser) {
select {
case errCh <- err:
case <-ctx.Done():
return
}
return
}
}
}()