fix double close on chan
This commit is contained in:
parent
689ecbcca3
commit
d08bbf250a
@ -69,7 +69,6 @@ func (s *submitter) shipFile(ctx context.Context, name string, recordLimitBytes
|
||||
defer close(lineChan)
|
||||
|
||||
sendChan := make(chan mLog, SendQueueLimit)
|
||||
defer close(sendChan)
|
||||
|
||||
go s.parseLines(recordLimitBytes, lineChan, sendChan)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user