Skip to content

Commit 61f9aba

Browse files
committed
Fixed bug in case sensative country.
1 parent 1ca9335 commit 61f9aba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Peering/Peering/PeeringService/GetAzurePeeringServiceLocationCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ private List<PSPeeringServiceLocation> GetPeeringServiceLocation()
6161
var icList = this.PeeringServiceLocationsClient.List();
6262
if (this.Country != null)
6363
{
64-
var t = icList.Select(this.ToPeeringServiceLocationPS).ToList().FindAll(x => x.Country == this.Country);
64+
var t = icList.Select(this.ToPeeringServiceLocationPS).ToList().FindAll(x => x.Country.Equals(this.Country, System.StringComparison.InvariantCultureIgnoreCase));
6565
return t;
6666
}
6767
return icList.Select(this.ToPeeringServiceLocationPS).ToList();

0 commit comments

Comments
 (0)