From c4675086d0bb3e477be3f3a937a0cb4920c584a4 Mon Sep 17 00:00:00 2001 From: Yev Date: Wed, 16 Oct 2024 02:42:20 +0200 Subject: [PATCH] formatting fix --- service/http_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/service/http_test.go b/service/http_test.go index 44128d05..4953878c 100644 --- a/service/http_test.go +++ b/service/http_test.go @@ -60,7 +60,6 @@ func TestInfoHandler(t *testing.T) { config.ChecksumWorkers, config.LogLevel, }) - if err != nil { t.Error(err.Error()) } @@ -99,7 +98,6 @@ func TestReloadHandler(t *testing.T) { startupTime, status, }) - if err != nil { t.Error(err.Error()) } @@ -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()) } @@ -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()) }