File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -175,11 +175,12 @@ Function Install-Kubectl
175175 {
176176 $Destination = [System.IO.Path ]::Combine($env: USERPROFILE , " .azure-kubectl" )
177177 }
178- $Destination = Resolve-Path - Path $Destination
179178 If (-not (Test-Path - Path $Destination ))
180179 {
181180 New-Item - Path $Destination - ItemType Directory
182181 }
182+ $Destination = Resolve-Path - Path $Destination
183+
183184 If (($Null -Eq $Version ) -or (" " -Eq $Version ))
184185 {
185186 $url = " $baseUrl /stable.txt"
@@ -269,11 +270,11 @@ Function Install-Kubelogin
269270 {
270271 $Destination = [System.IO.Path ]::Combine($env: USERPROFILE , " .azure-kubelogin" )
271272 }
272- $Destination = Resolve-Path - Path $Destination
273273 If (-not (Test-Path - Path $Destination ))
274274 {
275275 New-Item - Path $Destination - ItemType Directory
276276 }
277+ $Destination = Resolve-Path - Path $Destination
277278 If (($Null -Eq $Version ) -or (" " -Eq $Version ))
278279 {
279280 $latestVersionInfo = (Invoke-WebRequest - Uri $latestReleaseUrl ).Content | ConvertFrom-Json
Original file line number Diff line number Diff line change 2121
2222## Version 6.0.0
2323* Removed parameter ` DockerBridgeCidr ` from ` New-AzAksCluster `
24+ * Fixed the resolve path issue in ` Install-AzAksCliTool ` . [ #22853 ]
2425
2526## Version 5.5.1
2627* Fixed the issue of handling ` nextLink ` in ` Set-AzAksCluster ` . [ #21846 ]
You can’t perform that action at this time.
0 commit comments