From bac965b2d1ecb1078576301873a29a52100c168c Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Thu, 20 Mar 2025 15:42:10 +1100 Subject: [PATCH] use concat instead of join --- src/ServiceControl/CompositeViews/Messages/ScatterGatherApi.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ServiceControl/CompositeViews/Messages/ScatterGatherApi.cs b/src/ServiceControl/CompositeViews/Messages/ScatterGatherApi.cs index 57735cd247..c55b777db7 100644 --- a/src/ServiceControl/CompositeViews/Messages/ScatterGatherApi.cs +++ b/src/ServiceControl/CompositeViews/Messages/ScatterGatherApi.cs @@ -89,7 +89,7 @@ protected virtual QueryStatsInfo AggregateStats(TIn input, IEnumerable x.QueryStats).ToArray(); return new QueryStatsInfo( - string.Join("", infos.OrderBy(x => x.ETag).Select(x => x.ETag)), + string.Concat(infos.OrderBy(x => x.ETag).Select(x => x.ETag)), infos.Sum(x => x.TotalCount), isStale: infos.Any(x => x.IsStale), infos.Max(x => x.HighestTotalCountOfAllTheInstances)