From 271554719e15743f9d6f705b96099cdca7447e5e Mon Sep 17 00:00:00 2001 From: Ruakij Date: Fri, 26 Nov 2021 19:17:24 +0100 Subject: [PATCH] Remove wrong hint --- src/helper/influx-checks.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/helper/influx-checks.js b/src/helper/influx-checks.js index 0d17c30..1e6db19 100644 --- a/src/helper/influx-checks.js +++ b/src/helper/influx-checks.js @@ -43,7 +43,6 @@ function checkWriteApi(influxDb, options){ .catch((err) => { logger.error("Could not get writeApi:"); logger.error(`Error [${err.code}]:`, err.message); - if(err.code == "not found") logger.error("No write-permission?"); reject(); }).then((res) => { logger.debug("Writing ok");