We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14de63f commit 4abf37aCopy full SHA for 4abf37a
pkg/stanza/fileconsumer/internal/reader/reader.go
@@ -85,9 +85,8 @@ func (r *Reader) ReadToEnd(ctx context.Context) {
85
r.set.Logger.Error("failed to create gzip reader", zap.Error(err))
86
}
87
return
88
- } else {
89
- r.reader = gzipReader
90
+ r.reader = gzipReader
91
// Offset tracking in an uncompressed file is based on the length of emitted tokens, but in this case
92
// we need to set the offset to the end of the file.
93
defer func() {
0 commit comments