Skip to content

Commit

Permalink
formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mazay committed Oct 16, 2024
1 parent 5cf7c97 commit c467508
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions service/http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ func TestInfoHandler(t *testing.T) {
config.ChecksumWorkers,
config.LogLevel,
})

if err != nil {
t.Error(err.Error())
}
Expand Down Expand Up @@ -99,7 +98,6 @@ func TestReloadHandler(t *testing.T) {
startupTime,
status,
})

if err != nil {
t.Error(err.Error())
}
Expand All @@ -119,7 +117,6 @@ func TestPrometheusExporter(t *testing.T) {
time.Sleep(time.Second * 5)

resp, err := http.Get("http://127.0.0.1:9350/metrics")

if err != nil {
t.Error(err.Error())
}
Expand All @@ -141,7 +138,6 @@ func TestHttpServerr(t *testing.T) {
time.Sleep(time.Second * 5)

resp, err := http.Get("http://127.0.0.1:8090/info")

if err != nil {
t.Error(err.Error())
}
Expand Down

0 comments on commit c467508

Please sign in to comment.