diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2019-07-03 00:35:54 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2019-07-03 18:15:56 +0200 |
commit | 0081ab9575cca9a5d4eb81e823780ccd7075ba80 (patch) | |
tree | 7a0280693823c299ac942ae59dae867e474fceeb | |
parent | 7fb3740044e3e37fd92e13f6258bb4f571c0bfd1 (diff) |
Fix spellinghalibut_8.0.6halibut_8.0.5halibut_8.0.4halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut_8.0.0halibut_7.99.3halibut/8.0.6halibut/8.0.5halibut/8.0.4halibut/8.0.3halibut/8.0.2halibut/8.0.1halibut/8.0.0halibut/7.99.38.0.68.0.58.0.48.0.38.0.28.0.18.0.07.99.3halibut
Bug-AGL: SPEC-2597
Change-Id: I6a707a58e36d3eb1379dd00f2da03186da456491
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | src/plugins/influxdb-reader.c | 4 | ||||
-rw-r--r-- | src/plugins/influxdb-writer.c | 4 |
3 files changed, 5 insertions, 4 deletions
@@ -30,6 +30,7 @@ sudo systemctl status influxdb ``` You may also install useful tool named chronograf (Time-Series Data Visualization) + ```bash wget https://dl.influxdata.com/chronograf/releases/chronograf-1.4.4.2.x86_64.rpm sudo zypper in shadow diff --git a/src/plugins/influxdb-reader.c b/src/plugins/influxdb-reader.c index c633e9f..98e5198 100644 --- a/src/plugins/influxdb-reader.c +++ b/src/plugins/influxdb-reader.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2018 "IoT.bzh" + * Copyright (C) 2018-2019 "IoT.bzh" * Author "Romain Forlot" <romain.forlot@iot.bzh> * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -163,7 +163,7 @@ static void influxdb_read_curl_cb(void *closure, int status, CURL *curl, const c AFB_API_ERROR(apiHandle, "Invalid authentication. %s", result); break; default: - AFB_API_ERROR(apiHandle, "Unexptected behavior. %s", result); + AFB_API_ERROR(apiHandle, "Unexpected behavior. %s", result); break; } } diff --git a/src/plugins/influxdb-writer.c b/src/plugins/influxdb-writer.c index 2856865..c4929f8 100644 --- a/src/plugins/influxdb-writer.c +++ b/src/plugins/influxdb-writer.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2018 "IoT.bzh" + * Copyright (C) 2018-2019 "IoT.bzh" * Author "Romain Forlot" <romain.forlot@iot.bzh> * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -28,7 +28,7 @@ void influxdb_write_curl_cb(void *closure, int status, CURL *curl, const char *r switch(rep_code) { case 204: AFB_REQ_DEBUG(request, "Request correctly written"); - afb_req_success(request, NULL, "Request has been successfully writen"); + afb_req_success(request, NULL, "Request has been successfully written"); break; case 400: afb_req_fail(request, "Bad request", result); |