Skip to content

Commit

Permalink
Fix linter errors #5
Browse files Browse the repository at this point in the history
  • Loading branch information
tdancheva committed May 29, 2023
1 parent 087a8e1 commit caeeddd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x-pack/filebeat/input/awss3/s3_objects_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ func newS3GetObjectResponse(filename string, data []byte, contentType string) *s

func TestS3ObjectProcessor(t *testing.T) {
errSetup := logp.TestingSetup()
if errSetup != nil
if errSetup != nil {
t.Errorf("Error in setup: %v", errSetup)
}

t.Run("download text/plain file", func(t *testing.T) {
testProcessS3Object(t, "testdata/log.txt", "text/plain", 2)
Expand Down

0 comments on commit caeeddd

Please sign in to comment.