Skip to content

Commit 2de665e

Browse files
authored
Bug fix to address issue with Start-AzFrontDoorCdnProfilePrepareMigration.ps1 detailed in #29231 (#29234)
1 parent 2e9af78 commit 2de665e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/Cdn/Cdn.Autorest/custom/Start-AzFrontDoorCdnProfilePrepareMigration.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ function Start-AzFrontDoorCdnProfilePrepareMigration {
222222
$allPoliciesWithWAF = New-Object System.Collections.Generic.HashSet[string]
223223
$allPoliciesWithVault = New-Object System.Collections.Generic.HashSet[string]
224224
foreach ($info in $frontDoorInfos) {
225-
$wafInfo = $info.WebApplicationFirewallPolicyLink
225+
$wafInfo = $info.WebApplicationFirewallPolicyLinkId
226226
if ($wafInfo) {
227227
$allPoliciesWithWAF.Add($wafInfo.ToLower()) | Out-Null
228228
}
@@ -575,4 +575,4 @@ function RetryCommand {
575575
}
576576
}
577577
}
578-
}
578+
}

src/Cdn/Cdn/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020

2121
## Upcoming Release
22+
* Bug fix for https://github.com/Azure/azure-powershell/issues/29231
2223

2324
## Version 6.0.0
2425
* Added support for edge action

0 commit comments

Comments
 (0)