bunyan-influxdb
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -18,4 +18,3 @@ 'use strict'; | ||
dbs[t.db] = dbs[t.db] || []; | ||
dbs[t.db] = dbs[t.db].concat(t.points); | ||
return t.points; | ||
dbs[t.db].push(t.points); | ||
}); | ||
@@ -28,5 +27,3 @@ for(var k in dbs) { | ||
this.clientInflux.writePoints(tasks[0].series, dbs[k], k, function (err) { | ||
if (err) { | ||
console.error("Influxdb write error ", err); | ||
} | ||
err && console.error("Influxdb write error ", err); | ||
clbk && clbk(err); | ||
@@ -72,3 +69,3 @@ }.bind(this)); | ||
this.cargo.push(cargoItem, function (err) { | ||
console.error('bunyan-influxdb ', err); | ||
err && console.error('bunyan-influxdb ', err); | ||
}); | ||
@@ -75,0 +72,0 @@ |
{ | ||
"name": "bunyan-influxdb", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Bunyan InfluxDB Stream", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3588
64