mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #5555 from xiang90/fix_rm
rafthttp: report error to correct chan
This commit is contained in:
commit
634b9584ef
@ -279,7 +279,7 @@ type streamReader struct {
|
||||
func (r *streamReader) start() {
|
||||
r.stopc = make(chan struct{})
|
||||
r.done = make(chan struct{})
|
||||
if r.errorc != nil {
|
||||
if r.errorc == nil {
|
||||
r.errorc = r.tr.ErrorC
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user