Skip to content

Commit 235b24f

Browse files
authored
Merge branch 'master' into merge-network
2 parents d404a70 + 4a96e0c commit 235b24f

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
@@ -43,6 +43,7 @@
4343
- Update-AzureRmVpnConnection : added parameter EnableInternetSecurity
4444
- New-AzureRmExpressRouteConnection : added parameter EnableInternetSecurity
4545
- Set-AzureRmExpressRouteConnection : added parameter EnableInternetSecurity
46+
* Fix required subnet with name AzureBastionSubnet in `PSBastion` can be case insensitive
4647

4748
## Version 1.15.0
4849
* 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)