Minor improvements (#2250)

This commit is contained in:
Cheena Malhotra
2023-09-26 10:16:20 -07:00
committed by GitHub
parent c86b149a1f
commit 78581e8508
6 changed files with 37 additions and 37 deletions

View File

@@ -165,7 +165,7 @@ namespace Microsoft.SqlTools.ServiceLayer.IntegrationTests.DisasterRecovery
{
if (!request.Options.ContainsKey(item.Key))
{
request.Options.Add(item.Key, item.Value);
request.Options.TryAdd(item.Key, item.Value);
}
}
}

View File

@@ -610,7 +610,7 @@ namespace Microsoft.SqlTools.ServiceLayer.IntegrationTests.DisasterRecovery
{
if (!request.Options.ContainsKey(item.Key))
{
request.Options.Add(item.Key, item.Value);
request.Options.TryAdd(item.Key, item.Value);
}
}
}