From 562f52010501fb2dda841fe44057ce7a3ffbd5da Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 18 May 2018 10:45:00 +0200 Subject: Fix logging messages. Change-Id: I9cc4e031947f5f8c161f8732fc049762b738d994 Signed-off-by: Romain Forlot --- src/plugins/influxdb.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- cgit 1.2.3-korg