From dc6c4fbb648c2f86401bff4bf4c05db6b9367e31 Mon Sep 17 00:00:00 2001 From: Walter Rafelsberger Date: Thu, 28 Oct 2021 18:43:17 +0200 Subject: [PATCH] [ML] Fix broken commit. --- .../latency_correlations_search_service.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/x-pack/plugins/apm/server/lib/search_strategies/latency_correlations/latency_correlations_search_service.ts b/x-pack/plugins/apm/server/lib/search_strategies/latency_correlations/latency_correlations_search_service.ts index 19f1cf5d70d30..5fed2f4eb4dc4 100644 --- a/x-pack/plugins/apm/server/lib/search_strategies/latency_correlations/latency_correlations_search_service.ts +++ b/x-pack/plugins/apm/server/lib/search_strategies/latency_correlations/latency_correlations_search_service.ts @@ -155,9 +155,7 @@ export const latencyCorrelationsSearchServiceProvider: LatencyCorrelationsSearch // We need to round the percentiles values // because the queries we're using based on it // later on wouldn't allow numbers with decimals. - const percentiles = Object.values(percentilesRecords).map(Math.round) - Math.round(p) - ); + const percentiles = Object.values(percentilesRecords).map(Math.round); addLogMessage(`Loaded percentiles.`);