From df29972cfd2b85ca049f61022ea309c51769a9e3 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Mon, 9 Jul 2018 14:02:27 +0200 Subject: Set reader function unavailable for now Reader is WIP and should not be used for the moment. Change-Id: Ic106dbe9382f0611ab8c05c6bb4ca61e4153eb39 Signed-off-by: Romain Forlot --- conf.d/project/etc/harvester-config.json | 4 ---- src/plugins/influxdb-reader.c | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/conf.d/project/etc/harvester-config.json b/conf.d/project/etc/harvester-config.json index d2f7858..a4716a7 100644 --- a/conf.d/project/etc/harvester-config.json +++ b/conf.d/project/etc/harvester-config.json @@ -27,10 +27,6 @@ { "uid": "write", "action": "plugin://influxdb#write_to_influxdb" - }, - { - "uid": "read", - "action": "plugin://influxdb#read_from_influxdb" } ] } diff --git a/src/plugins/influxdb-reader.c b/src/plugins/influxdb-reader.c index 052a3da..7b184dd 100644 --- a/src/plugins/influxdb-reader.c +++ b/src/plugins/influxdb-reader.c @@ -235,6 +235,9 @@ static int influxdb_read(sd_event_source *s, uint64_t usec, void *userdata) return 0; } +/* + * TODO RFOR: reader functions are not used for the moment + */ CTLP_CAPI(read_from_influxdb, source, argsJ, eventJ) { int err = 0; -- cgit 1.2.3-korg