Close, not Client

This commit is contained in:
Till Faelligen 2022-12-07 08:58:17 +01:00
parent e293d82151
commit dcebf78944
No known key found for this signature in database
GPG key ID: ACCDC9606D472758

View file

@ -60,7 +60,7 @@ func TestCollect(t *testing.T) {
}
close(receivedRequest)
}))
defer srv.Client()
defer srv.Close()
b.Cfg.Global.ReportStats.Endpoint = srv.URL
stats := phoneHomeStats{