From 5a238d940fa5b093ec2728a958079c486a1c8927 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Mon, 18 Jun 2018 16:52:22 +0200 Subject: Don't suffix tags and fields names Change-Id: Ib6b5101a6b105f0f024777ee52d9266f34e88f46 Signed-off-by: Sebastien Douheret --- src/plugins/influxdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/influxdb.c b/src/plugins/influxdb.c index d3da39a..92f1f89 100644 --- a/src/plugins/influxdb.c +++ b/src/plugins/influxdb.c @@ -123,7 +123,7 @@ void unpack_values(void* l, json_object* valuesJ, const char* key) time */ char* suffixed_key = calloc(1, strlen(key) + 3); strcpy(suffixed_key, key); - strcat(suffixed_key, "_f"); + // strcat(suffixed_key, "_f"); add_elt(oneList, suffixed_key, valuesJ); } @@ -136,7 +136,7 @@ void unpack_metadata(void* l, json_object* valuesJ, const char* key) time */ char* suffixed_key = calloc(1, strlen(key) + 3); strcpy(suffixed_key, key); - strcat(suffixed_key, "_t"); + // strcat(suffixed_key, "_t"); add_elt(oneList, suffixed_key, valuesJ); } -- cgit 1.2.3-korg