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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/influxdb-reader.c b/src/plugins/influxdb-reader.c
index 98e5198..b6c9c25 100644
--- a/src/plugins/influxdb-reader.c
+++ b/src/plugins/influxdb-reader.c
@@ -225,7 +225,7 @@ static int influxdb_read(sd_event_source *s, uint64_t usec, void *userdata)
char url[URL_MAXIMUM_LENGTH]; /* Safe limit for most popular web browser */
- make_url(url, sizeof(url), r_args->host, r_args->port, "query");
+ make_url_db(url, sizeof(url), r_args->host, r_args->port, "query", DEFAULT_DB);
curl = make_curl_query_get(source->api, url);
curl_wrap_do(curl, influxdb_read_curl_cb, (void*)source->api);