Skip to content

Commit

Permalink
Merge pull request #1392 from openziti/fix-getZiti-arch
Browse files Browse the repository at this point in the history
remove unused variable
  • Loading branch information
dovholuknf authored Oct 3, 2023
2 parents fbbe9e2 + 620939d commit 3626aae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions quickstart/docker/image/getZiti.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ PS> . .\getZiti.ps1
Add-Type -AssemblyName System.Runtime.InteropServices

$osDescription = [System.Runtime.InteropServices.RuntimeInformation]::OSDescription
$osArchitecture = [System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture
$frameworkDescription = [System.Runtime.InteropServices.RuntimeInformation]::FrameworkDescription

$arch=$osArchitecture.ToString().ToLower()
$arch=${env:PROCESSOR_ARCHITECTURE}.ToString().ToLower()
if($arch -match "x64") {
$arch = "amd64"
}
Expand Down

0 comments on commit 3626aae

Please sign in to comment.