Permalink
Browse files

FIX bug in harvester offset updates

  • Loading branch information...
alphazero committed Aug 29, 2014
1 parent 8fb9baf commit 409566c12854a5264104dd6278c79ee0a903d6a9
Showing with 1 addition and 1 deletion.
  1. +1 −1 harvester.go
View
@@ -84,7 +84,7 @@ func (h *Harvester) Harvest(output chan *FileEvent) {
Fields: &h.FileConfig.Fields,
fileinfo: &info,
}
offset += int64(bytesread)
h.Offset += int64(bytesread)
output <- event // ship the new event downstream
} /* forever */

0 comments on commit 409566c

Please sign in to comment.