Skip to content

Commit 856ce94

Browse files
mbrat2005Copilot
andauthored
Update AzureBasicLoadBalancerUpgrade/module/AzureBasicLoadBalancerUpgrade/modules/NatRulesMigration/NatRulesMigration.psm1
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 462c2ec commit 856ce94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • AzureBasicLoadBalancerUpgrade/module/AzureBasicLoadBalancerUpgrade/modules/NatRulesMigration

AzureBasicLoadBalancerUpgrade/module/AzureBasicLoadBalancerUpgrade/modules/NatRulesMigration/NatRulesMigration.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function NatRulesMigration {
159159
Set-AzLoadBalancer -LoadBalancer $StdLoadBalancer > $null
160160
}
161161
catch {
162-
$message = "[NatRulesMigration] Failed to update new standard load balancer '$($stdLoadBalancer.Name)' in resource group '$($StdLoadBalancer.ResourceGroupName)' after attempting to add migrated inbound NAT rule configurations. Migration will continue, INBOUND NAT RULES WILL NEED TO BE MANUALLY ADDED to the load balancer. Error: $_"
162+
$message = "[NatRulesMigration] Failed to update new standard load balancer '$($stdLoadBalancer.Name)' in resource group '$($StdLoadBalancer.ResourceGroupName)' after attempting to apply NAT Rules to LB config. Migration will continue, INBOUND NAT RULES WILL NEED TO BE MANUALLY ADDED to the load balancer. Error: $_"
163163
log "Error" $message
164164
}
165165
}

0 commit comments

Comments
 (0)