Update send-annotation.js to take all kind of tags independent of category (#2031)

This commit is contained in:
Icecold777 2018-05-13 11:46:18 +03:00 committed by Peter Hedenskog
parent 86466d87e2
commit 9db2f3a6f9
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ module.exports = {
if (options.influxdb.tags) {
for (var row of options.influxdb.tags.split(',')) {
const keyAndValue = row.split('=');
if (keyAndValue[0] === 'category') tags += `,${keyAndValue[1]}`;
tags += `,${keyAndValue[1]}`;
}
}
const postData = `events title="Sitespeed.io",text="${message}",tags="${tags}" ${timestamp}`;