Website: fix incorrect conditional statement in Datadog script (#16583)

Changes:
- Updated a conditional statement in the
`send-aggregated-metrics-to-datadog` script. (`===` » `!==`)
This commit is contained in:
Eric 2024-02-02 18:22:49 -06:00 committed by GitHub
parent db58539c9d
commit c5736af55e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -128,7 +128,7 @@ module.exports = {
} }
for(let version of combinedHostsEnrolledByOsqueryVersion) { for(let version of combinedHostsEnrolledByOsqueryVersion) {
if(version.osqueryVersion === ''){ if(version.osqueryVersion !== ''){
let metricToAdd = { let metricToAdd = {
metric: 'usage_statistics_v2.host_count_by_osquery_version', metric: 'usage_statistics_v2.host_count_by_osquery_version',
type: 3, type: 3,