From 40a6c0d6724aa1b5cac1b19e3a1550a4755f6d1b Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Sun, 7 Jul 2019 23:34:04 +0300 Subject: [PATCH] app/vmselect/prometheus: typo fix --- app/vmselect/prometheus/prometheus_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/vmselect/prometheus/prometheus_test.go b/app/vmselect/prometheus/prometheus_test.go index a4a5cb517..0717dc535 100644 --- a/app/vmselect/prometheus/prometheus_test.go +++ b/app/vmselect/prometheus/prometheus_test.go @@ -2,9 +2,9 @@ package prometheus import ( "fmt" - "testing" "net/http" "net/url" + "testing" ) func TestGetTimeSuccess(t *testing.T) { @@ -62,7 +62,7 @@ func TestGetTimeError(t *testing.T) { } // Verify timestampExpected - ts, err = getTime(r, "s", 123) + _, err = getTime(r, "s", 123) if err == nil { t.Fatalf("expecting non-nil error in getTime(%q)", s) }