[SQL-Migration] Port changes to new migration service (#1835)

This PR ports some changes that were missed to the new, separated Migration Service project.

Here is the PR to separate Migration Service into project: #1828

Changes from the following PRs were not ported over:
[SQL Migration] Mark SQL MI premium-series memory optimized SKUs as GA #1811
Update login migrations nuget with perf improvements #1789
This commit is contained in:
AkshayMata
2023-01-30 22:24:09 -08:00
committed by GitHub
parent e2962390bc
commit 1660ef3232
2 changed files with 7 additions and 72 deletions

View File

@@ -13,6 +13,11 @@ namespace Microsoft.SqlTools.Migration.Utils
{
public static void AddExceptions(this IDictionary<string, IEnumerable<ReportableException>> exceptionMap1, IDictionary<string, IEnumerable<ReportableException>> exceptionMap2)
{
if (exceptionMap1 is null || exceptionMap2 is null)
{
return;
}
foreach (var keyValuePair2 in exceptionMap2)
{
// If the dictionary already contains the key then merge them