Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaElastic committed Nov 21, 2023
1 parent 64277ff commit ea1d3bd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/pkg/server/remote_es_output_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ func Test_Agent_Remote_ES_Output(t *testing.T) {
requestURL := fmt.Sprintf("http://elastic:changeme@%s/_security/api_key?id=%s", remoteESHost, apiKeyID)
res, err := http.Get(requestURL)

Check failure on line 180 in internal/pkg/server/remote_es_output_integration_test.go

View workflow job for this annotation

GitHub Actions / lint (linux)

G107: Potential HTTP request made with variable url (gosec)
if err != nil {
fmt.Printf("error making http request: %s\n", err)
t.Fatal("error querying remote api key")
}

Expand Down

0 comments on commit ea1d3bd

Please sign in to comment.