Skip to content

Commit

Permalink
Remove unnecessary check in AzureAISearchIndexingService (#15555)
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamco authored Mar 21, 2024
1 parent e317695 commit 2d4d31c
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,6 @@ public async Task ProcessContentItemsAsync(params string[] indexNames)
lastTaskId = Math.Min(lastTaskId, taskId);
}

if (indexSettings.Count == 0)
{
return;
}

var tasks = new List<IndexingTask>();

var allContentTypes = indexSettings.SelectMany(x => x.IndexedContentTypes ?? []).Distinct().ToList();
Expand Down

0 comments on commit 2d4d31c

Please sign in to comment.