Skip to content

Commit

Permalink
Sort the RegionsAvailable in ascending order for easier reading in Ba…
Browse files Browse the repository at this point in the history
…tchSupportedVmSizeInformation.json (#321)
  • Loading branch information
MattMcL4475 authored Aug 2, 2023
1 parent 4fcd763 commit 453a019
Show file tree
Hide file tree
Showing 2 changed files with 5,909 additions and 5,909 deletions.
2 changes: 1 addition & 1 deletion src/GenerateBatchVmSkus/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ static async Task<int> RunAsync(Configuration configuration)
VmSize = sizeInfo.Name,
VmFamily = sku?.Family,
HyperVGenerations = generationList,
RegionsAvailable = new List<string>(regionsForVm[s])
RegionsAvailable = new List<string>(regionsForVm[s].Order())
};
}).Where(x => x is not null).OrderBy(x => x!.VmSize).ToList();

Expand Down
Loading

0 comments on commit 453a019

Please sign in to comment.