aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-05-18 10:45:00 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-10 23:41:14 +0200
commit562f52010501fb2dda841fe44057ce7a3ffbd5da (patch)
tree291fa357c359597448194140bf25e901836b9af4 /src/plugins
parenta3e0c4497d4ff294537978b91e9f18cef3106604 (diff)
Fix logging messages.
Change-Id: I9cc4e031947f5f8c161f8732fc049762b738d994 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/influxdb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/influxdb.c b/src/plugins/influxdb.c
index 3c94a1b..4c69e98 100644
--- a/src/plugins/influxdb.c
+++ b/src/plugins/influxdb.c
@@ -63,10 +63,12 @@ CTLP_CAPI(influxdb_ping, source, argsJ, eventJ)
AFB_ApiError(source->api, "InfluxDB is offline.");
ret = ERROR;
}
+ else {
+ AFB_ApiNotice(source->api, "InfluxDB is up and running.");
+ }
curl_easy_cleanup(curl_req);
- AFB_ApiNotice(source->api, "InfluxDB is up and running.");
return ret;
}