summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-08-26 13:32:16 +0200
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2024-10-28 17:02:14 +0100
commitb5ea72e09301b9fad3b8e7e2d5b019b82c7f5b12 (patch)
treef00727142fe95c11654a9506fa3ef388ab7c2101
parentf875f7138978fea56c888e2ea9d88ea46c8fbc28 (diff)
Exports Test: Fix linting error
-rw-r--r--exports/exports_wrapper.go4
1 files 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)