From b5ea72e09301b9fad3b8e7e2d5b019b82c7f5b12 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 26 Aug 2024 13:32:16 +0200 Subject: Exports Test: Fix linting error --- exports/exports_wrapper.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exports/exports_wrapper.go b/exports/exports_wrapper.go index 0e25232..78ce7db 100644 --- a/exports/exports_wrapper.go +++ b/exports/exports_wrapper.go @@ -314,7 +314,7 @@ func testGetConfig(t *testing.T) { // TODO: can we do this better http.DefaultTransport = sclient.Client.Transport - cfg, cfgErr := GetConfig(ck, 3, listS, 0, 0) + _, cfgErr := GetConfig(ck, 3, listS, 0, 0) cfgErrS := getError(t, cfgErr) if !strings.HasSuffix(cfgErrS, "server does not exist.") { t.Fatalf("error does not end with 'server does not exist.': %v", cfgErrS) @@ -326,7 +326,7 @@ func testGetConfig(t *testing.T) { t.Fatalf("failed to add server: %v", addErr) } - cfg, cfgErr = GetConfig(ck, 3, listS, 0, 0) + cfg, cfgErr := GetConfig(ck, 3, listS, 0, 0) cfgErrS = getError(t, cfgErr) if cfgErrS != "" { t.Fatalf("failed to get config for server: %v", cfgErrS) -- cgit v1.2.3