summaryrefslogtreecommitdiffstats
path: root/src/plugins/influxdb-reader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/influxdb-reader.c')
-rw-r--r--src/plugins/influxdb-reader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/influxdb-reader.c b/src/plugins/influxdb-reader.c
index d7ddac7..c633e9f 100644
--- a/src/plugins/influxdb-reader.c
+++ b/src/plugins/influxdb-reader.c
@@ -70,10 +70,10 @@ static void fill_key(void *c, json_object *columnJ)
struct metrics_list *m_list = (struct metrics_list *)c;
if(strncasecmp(&column[length-2], "_t", 2) == 0) {
- add_key(&m_list->serie.serie_columns.tags, column);
+ add_key(&m_list->serie.serie_columns.tags, column, "");
}
else if(strncasecmp(&column[length-2], "_f", 2) == 0) {
- add_key(&m_list->serie.serie_columns.fields, column);
+ add_key(&m_list->serie.serie_columns.fields, column, "");
}
}