From 13b318690d33c03f399667e59a20e326dbe666bd Mon Sep 17 00:00:00 2001 From: helgeerbe Date: Tue, 23 May 2023 10:24:06 +0200 Subject: [PATCH] fix: linting errors --- src/WebApi_prometheus.cpp | 2 +- src/WebApi_ws_live.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/WebApi_prometheus.cpp b/src/WebApi_prometheus.cpp index ab925f72..274e3e5e 100644 --- a/src/WebApi_prometheus.cpp +++ b/src/WebApi_prometheus.cpp @@ -27,7 +27,7 @@ void WebApiPrometheusClass::loop() void WebApiPrometheusClass::onPrometheusMetricsGet(AsyncWebServerRequest* request) { try { - auto stream = request->beginResponseStream("text/plain; charset=utf-8", 4096 * INV_MAX_COUNT); // TODO helge: check if this calculation is correct + auto stream = request->beginResponseStream("text/plain; charset=utf-8", 4096 * INV_MAX_COUNT); // TODO (helge) check if this calculation is correct stream->print("# HELP opendtu_build Build info\n"); stream->print("# TYPE opendtu_build gauge\n"); diff --git a/src/WebApi_ws_live.cpp b/src/WebApi_ws_live.cpp index b5146455..1fb3b055 100644 --- a/src/WebApi_ws_live.cpp +++ b/src/WebApi_ws_live.cpp @@ -69,7 +69,7 @@ void WebApiWsLiveClass::loop() String buffer; // free JsonDocument as soon as possible { - DynamicJsonDocument root(4096 * INV_MAX_COUNT); // TODO helge: check if this calculation is correct + DynamicJsonDocument root(4096 * INV_MAX_COUNT); // TODO (helge) check if this calculation is correct JsonVariant var = root; generateJsonResponse(var); serializeJson(root, buffer);