Fix syntax error

This commit is contained in:
Ben Adrian Sarmiento
2024-06-29 05:39:51 +02:00
parent 50caa2c088
commit fdc96a62ee

View File

@@ -35,8 +35,8 @@ func NetworkTest(testURL string) {
log.Info("You can set a proxy by setting the PROXY environment variable") 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")) repoClient4 := http.NewHTTPClient("", 0, 1, false, []string{}, proxyURL, log.Named("network_test"))
repoClient6 := http.NewHTTPClient(0, 1, true, []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 := http.NewIPRepository(repoClient4, repoClient6, testURL, log.Named("network_test"))
repo.NetworkTest(true, true) repo.NetworkTest(true, true)
} }