Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit f141050

Browse files
authored
Remove unnecessary method argument (#3473)
1 parent 14ab36e commit f141050

File tree

1 file changed

+3
-3
lines changed
  • src/ApiService/ApiService/onefuzzlib/notifications

1 file changed

+3
-3
lines changed

src/ApiService/ApiService/onefuzzlib/notifications/Ado.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ private static async Async.Task ProcessNotification(IOnefuzzContext context, Con
239239

240240
var renderedConfig = RenderAdoTemplate(logTracer, renderer, config, instanceUrl);
241241
var ado = new AdoConnector(renderedConfig, project!, client, instanceUrl, logTracer, await GetValidFields(client, project));
242-
await ado.Process(notificationInfo, config.AdoDuplicateFields);
242+
await ado.Process(notificationInfo);
243243
}
244244

245245
public static RenderedAdoTemplate RenderAdoTemplate(ILogger logTracer, Renderer renderer, AdoTemplate original, Uri instanceUrl) {
@@ -526,7 +526,7 @@ private async Async.Task<WorkItem> CreateNew() {
526526
return (taskType, document);
527527
}
528528

529-
public async Async.Task Process(IList<(string, string)> notificationInfo, Dictionary<string, string>? duplicateFields) {
529+
public async Async.Task Process(IList<(string, string)> notificationInfo) {
530530
var updated = false;
531531
WorkItem? oldestWorkItem = null;
532532
await foreach (var workItem in ExistingWorkItems(notificationInfo)) {
@@ -536,7 +536,7 @@ public async Async.Task Process(IList<(string, string)> notificationInfo, Dictio
536536
_logTracer.AddTags(new List<(string, string)> { ("MatchingWorkItemIds", $"{workItem.Id}") });
537537
_logTracer.LogInformation("Found matching work item");
538538
}
539-
if (IsADODuplicateWorkItem(workItem, duplicateFields)) {
539+
if (IsADODuplicateWorkItem(workItem, _config.AdoDuplicateFields)) {
540540
continue;
541541
}
542542

0 commit comments

Comments
 (0)