diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-05-18 10:45:00 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-07-10 23:41:14 +0200 |
commit | 562f52010501fb2dda841fe44057ce7a3ffbd5da (patch) | |
tree | 291fa357c359597448194140bf25e901836b9af4 /src | |
parent | a3e0c4497d4ff294537978b91e9f18cef3106604 (diff) |
Fix logging messages.
Change-Id: I9cc4e031947f5f8c161f8732fc049762b738d994
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/influxdb.c | 4 |
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; } |