Skip to content

Commit

Permalink
Close body
Browse files Browse the repository at this point in the history
  • Loading branch information
mellon85 committed Nov 22, 2023
1 parent 3a716a2 commit 7fc48b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/trace-agent/config/remote/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ func TestForwardErrors(t *testing.T) {
r, err := http.DefaultClient.Do(req)
assert.NoError(err)
assert.Equal(404, r.StatusCode)
r.Body.Close()
}

type agentGRPCConfigFetcher struct {
Expand Down

0 comments on commit 7fc48b9

Please sign in to comment.