mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
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:
parent
db58539c9d
commit
c5736af55e
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user