summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-06-18 16:52:22 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-10 23:41:15 +0200
commit5a238d940fa5b093ec2728a958079c486a1c8927 (patch)
tree11c7cd251be3463589101258ef543b05e37cb71d /src/plugins
parent2f2beb8029e3d7836eac748a667c4f0c4f61ee02 (diff)
Don't suffix tags and fields names
Change-Id: Ib6b5101a6b105f0f024777ee52d9266f34e88f46 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/influxdb.c4
1 files 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);
}