aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf.d/project/etc/harvester-config.json4
-rw-r--r--src/plugins/influxdb-reader.c3
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;