Remove tail cleanup call to avoid double decrement (#6089)

This commit is contained in:
Daniel Nelson
2019-07-08 14:48:47 -07:00
committed by GitHub
parent c5d8e63a0f
commit 601f499126
2 changed files with 0 additions and 5 deletions

View File

@@ -294,7 +294,6 @@ func (l *LogParserPlugin) Stop() {
if err != nil {
log.Printf("E! Error stopping tail on file %s\n", t.Filename)
}
t.Cleanup()
}
close(l.done)
l.wg.Wait()