From 9073887468df399382f694f00f3dc68f87a8aaa1 Mon Sep 17 00:00:00 2001 From: xchen Date: Wed, 25 Sep 2024 18:45:25 -0700 Subject: [PATCH] add null check --- .../Batching/AzureResourceDefinitionBatching.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Promitor.Core.Scraping/Batching/AzureResourceDefinitionBatching.cs b/src/Promitor.Core.Scraping/Batching/AzureResourceDefinitionBatching.cs index d4baf5efc..b08639b58 100644 --- a/src/Promitor.Core.Scraping/Batching/AzureResourceDefinitionBatching.cs +++ b/src/Promitor.Core.Scraping/Batching/AzureResourceDefinitionBatching.cs @@ -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; @@ -24,7 +23,7 @@ public static List> GroupScrapeD .ToList(); // flatten } - /// + /// /// splits the "raw" batch according to max batch size configured /// private static List>> SplitScrapeDefinitionBatch(List> batchToSplit, int maxBatchSize)