From c5736af55e5a324023477ff7395bf311a33a3a87 Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 2 Feb 2024 18:22:49 -0600 Subject: [PATCH] Website: fix incorrect conditional statement in Datadog script (#16583) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changes: - Updated a conditional statement in the `send-aggregated-metrics-to-datadog` script. (`===` ยป `!==`) --- website/scripts/send-aggregated-metrics-to-datadog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/scripts/send-aggregated-metrics-to-datadog.js b/website/scripts/send-aggregated-metrics-to-datadog.js index 2bfe533b6..415ef0e75 100644 --- a/website/scripts/send-aggregated-metrics-to-datadog.js +++ b/website/scripts/send-aggregated-metrics-to-datadog.js @@ -128,7 +128,7 @@ module.exports = { } for(let version of combinedHostsEnrolledByOsqueryVersion) { - if(version.osqueryVersion === ''){ + if(version.osqueryVersion !== ''){ let metricToAdd = { metric: 'usage_statistics_v2.host_count_by_osquery_version', type: 3,