Skip to content

Commit

Permalink
Addressed review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Pracucci <marco@pracucci.com>
  • Loading branch information
pracucci committed Aug 8, 2022
1 parent d7c0b68 commit 046804e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/usagestats/reporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func TestReporter_SendReportPeriodically(t *testing.T) {

writer.WriteHeader(http.StatusOK)
}))
defer server.Close()
t.Cleanup(server.Close)

r := NewReporter(bucketClient, log.NewNopLogger(), prometheus.NewPedanticRegistry())
r.serverURL = server.URL
Expand Down

0 comments on commit 046804e

Please sign in to comment.