From 5d9acb33cd2e97284ec5690f60ff2a587c8d622a Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Wed, 24 Oct 2018 20:06:48 +0200 Subject: [PATCH] Fix faulty annotation tag for InfluxDB #2190 (#2192) --- lib/plugins/influxdb/send-annotation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/influxdb/send-annotation.js b/lib/plugins/influxdb/send-annotation.js index a7191201a..df15b0a09 100644 --- a/lib/plugins/influxdb/send-annotation.js +++ b/lib/plugins/influxdb/send-annotation.js @@ -40,7 +40,7 @@ module.exports = { if (options.influxdb.tags) { for (var row of options.influxdb.tags.split(',')) { const keyAndValue = row.split('='); - tags += `,${keyAndValue[1]}`; + tags.push(keyAndValue[1]); } } const influxDBTags = annotationsHelper.getTagsAsString(tags);