summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}