From fbed299465ce264453576e3626d55f3797434cd2 Mon Sep 17 00:00:00 2001 From: Andrew Theurer Date: Wed, 7 Aug 2024 10:52:51 -0400 Subject: [PATCH] it's prettier now... --- queries/cdmq/cdm.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/queries/cdmq/cdm.js b/queries/cdmq/cdm.js index 84425bf4..dc2ab440 100644 --- a/queries/cdmq/cdm.js +++ b/queries/cdmq/cdm.js @@ -1822,9 +1822,9 @@ getMetricDataFromIdsSets = function (url, sets, metricGroupIdsByLabelSets) { var index = JSON.parse(indexjson); var req = JSON.parse(reqjson); ndjson[ndIdx] += JSON.stringify(index) + '\n'; - ndjsonLineNum++; + ndjsonLineNum++; ndjson[ndIdx] += JSON.stringify(req) + '\n'; - ndjsonLineNum++; + ndjsonLineNum++; // This second request is for the total weight of the previous weighted average request. // We need this because we are going to recompute the weighted average by adding // a few more documents that are partially outside the time domain. @@ -1849,9 +1849,9 @@ getMetricDataFromIdsSets = function (url, sets, metricGroupIdsByLabelSets) { index = JSON.parse(indexjson); req = JSON.parse(reqjson); ndjson[ndIdx] += JSON.stringify(index) + '\n'; - ndjsonLineNum++; + ndjsonLineNum++; ndjson[ndIdx] += JSON.stringify(req) + '\n'; - ndjsonLineNum++; + ndjsonLineNum++; // This third request is for documents that had its begin during or before the time range, but // its end was after the time range. indexjson = '{"index": "' + getIndexBaseName() + 'metric_data' + '" }\n';