From 1c219f5b277aecf69f4c90dc8c61246441a6cf84 Mon Sep 17 00:00:00 2001 From: Foivos Zakkak Date: Fri, 3 Nov 2023 14:08:39 +0200 Subject: [PATCH] Remove user-agent from HttpClient --- src/mandrel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mandrel.ts b/src/mandrel.ts index 659a9e4..8e429ac 100644 --- a/src/mandrel.ts +++ b/src/mandrel.ts @@ -59,7 +59,7 @@ export async function getLatestMandrelReleaseUrl( javaVersion: string ): Promise { const url = `${DISCO_API_BASE}?jdk_version=${javaVersion}&distribution=${c.DISTRIBUTION_MANDREL}&architecture=${c.JDK_ARCH}&operating_system=${c.JDK_PLATFORM}&latest=per_distro` - const _http = new httpClient.HttpClient('http-client-tests') + const _http = new httpClient.HttpClient() const response = await _http.getJson(url) if (response.statusCode !== 200) { throw new Error(