Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Kolberg <[email protected]>
  • Loading branch information
amdprophet committed Nov 6, 2024
1 parent 927cc2f commit dd13c3e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion install-script/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,12 @@ function Get-LatestVersion {
[HttpClient] $HttpClient
)

$URI = $S3URI + "/latest_version"
$request = [HttpRequestMessage]::new()
$request.Method = "GET"
$request.RequestURI = $S3URI + "/latest_version"
$request.RequestURI = $URI

Write-Host "Fetching latest version from: ${URI}"

$response = $HttpClient.SendAsync($request).GetAwaiter().GetResult()
if (!($response.IsSuccessStatusCode)) {
Expand Down

0 comments on commit dd13c3e

Please sign in to comment.