From 0081ec0f5eff444eb7043f994fa76fc5dca764c3 Mon Sep 17 00:00:00 2001 From: Evstigneev Denis Date: Mon, 9 Dec 2024 15:57:55 +0300 Subject: [PATCH] fixed linter error --- util/dns/cache_test.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/util/dns/cache_test.go b/util/dns/cache_test.go index 1c939145..392f82d4 100644 --- a/util/dns/cache_test.go +++ b/util/dns/cache_test.go @@ -8,15 +8,13 @@ import ( func TestCache(t *testing.T) { net.DefaultResolver = NewNetResolver(PreferIPV4(true)) - addrs, err := net.LookupHost("unistack.org") + _, err := net.LookupHost("unistack.org") if err != nil { t.Fatal(err) } - addrs, err = net.LookupHost("unistack.org") + _, err = net.LookupHost("unistack.org") if err != nil { t.Fatal(err) } - - _ = addrs }