Skip to content

Commit a94bc7f

Browse files
authored
Merge branch 'master' into network-september
2 parents f141fa2 + 4a96e0c commit a94bc7f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Network/Network/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
- Cmdlets updated with optional parameters:
6060
- New-AzApplicationGatewayHttpListener : added parameter FirewallPolicy, FirewallPolicyId
6161
- New-AzApplicationGatewayPathRuleConfig : added parameter FirewallPolicy, FirewallPolicyId
62+
* Fix required subnet with name AzureBastionSubnet in `PSBastion` can be case insensitive
6263

6364
## Version 1.15.0
6465
* Add new cmdlet Get-AzAvailableServiceAlias which can be called to get the aliases that can be used for Service Endpoint Policies.

src/Network/Network/Models/Bastion/PSBastion.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public void Allocate(PSVirtualNetwork virtualNetwork, PSPublicIpAddress publicIp
5353
PSSubnet BastionSubnet = null;
5454
try
5555
{
56-
BastionSubnet = virtualNetwork.Subnets.Single(subnet => BastionSubnetName.Equals(subnet.Name));
56+
BastionSubnet = virtualNetwork.Subnets.Single(subnet => BastionSubnetName.Equals(subnet.Name, StringComparison.OrdinalIgnoreCase));
5757
}
5858

5959
catch (InvalidOperationException)

0 commit comments

Comments
 (0)