From fdc96a62ee1812d74cdeae49347c64c3d371853f Mon Sep 17 00:00:00 2001 From: Ben Adrian Sarmiento Date: Sat, 29 Jun 2024 05:39:51 +0200 Subject: [PATCH] Fix syntax error --- internal/commands.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/commands.go b/internal/commands.go index c7861e4..54cb35e 100644 --- a/internal/commands.go +++ b/internal/commands.go @@ -35,8 +35,8 @@ func NetworkTest(testURL string) { log.Info("You can set a proxy by setting the PROXY environment variable") } - repoClient4 := http.NewHTTPClient(0, 1, false, []string{}, proxyURL, log.Named("network_test")) - repoClient6 := http.NewHTTPClient(0, 1, true, []string{}, proxyURL, log.Named("network_test")) + repoClient4 := http.NewHTTPClient("", 0, 1, false, []string{}, proxyURL, log.Named("network_test")) + repoClient6 := http.NewHTTPClient("", 0, 1, true, []string{}, proxyURL, log.Named("network_test")) repo := http.NewIPRepository(repoClient4, repoClient6, testURL, log.Named("network_test")) repo.NetworkTest(true, true) }