diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-02-06 17:00:33 +0100 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2024-02-19 14:15:07 +0100 |
| commit | 537a843e6c3c86d53b6e04a1ba252ef99680e554 (patch) | |
| tree | 2ae95526bbfbed60a42eae2529c51e3399ebb13e | |
| parent | 500da173d8a3cd2da819353f80eef6ae7ab8ecb0 (diff) | |
Discovery: Use new HTTP Client
| -rw-r--r-- | internal/discovery/discovery.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/discovery/discovery.go b/internal/discovery/discovery.go index d89f0f5..f44fbe4 100644 --- a/internal/discovery/discovery.go +++ b/internal/discovery/discovery.go @@ -34,7 +34,7 @@ var DiscoURL = "https://disco.eduvpn.org/v2/" func (discovery *Discovery) file(ctx context.Context, jsonFile string, previousVersion uint64, structure interface{}) error { // No HTTP client present, create one if discovery.httpClient == nil { - discovery.httpClient = http.NewClient() + discovery.httpClient = http.NewClient(nil) } // Get json data |
