Skip to content

Commit

Permalink
add null check
Browse files Browse the repository at this point in the history
  • Loading branch information
hkfgo committed Sep 26, 2024
1 parent b3eb049 commit 9073887
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Promitor.Core.Contracts;
using Promitor.Core.Scraping.Configuration.Model.Metrics;

Expand All @@ -24,7 +23,7 @@ public static List<BatchScrapeDefinition<IAzureResourceDefinition>> GroupScrapeD
.ToList(); // flatten
}

/// <summary>
/// <summary>
/// splits the "raw" batch according to max batch size configured
/// </summary>
private static List<List<ScrapeDefinition<IAzureResourceDefinition>>> SplitScrapeDefinitionBatch(List<ScrapeDefinition<IAzureResourceDefinition>> batchToSplit, int maxBatchSize)
Expand Down

0 comments on commit 9073887

Please sign in to comment.