Skip to content

Commit

Permalink
Fix linter errors #3
Browse files Browse the repository at this point in the history
  • Loading branch information
tdancheva committed May 29, 2023
1 parent 8565da8 commit 5906ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/filebeat/input/awss3/s3_objects.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ func (p *s3ObjectProcessor) readFile(r io.Reader) error {
for {
message, err := reader.Next()

if err == io.EOF {
if errors.Is(err, io.EOF) {
// No more lines
break
}
Expand Down

0 comments on commit 5906ba3

Please sign in to comment.