From 5ff9dedf7c461b923f59469ff2a32ecc2240e624 Mon Sep 17 00:00:00 2001 From: Otto Date: Fri, 5 Nov 2021 13:47:23 +0100 Subject: [PATCH] Reformat --- pdns/ws-recursor.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pdns/ws-recursor.cc b/pdns/ws-recursor.cc index c0845ea6dc..84f6c26cbd 100644 --- a/pdns/ws-recursor.cc +++ b/pdns/ws-recursor.cc @@ -1149,7 +1149,8 @@ RecursorWebServer::RecursorWebServer(FDMultiplexer* fdm) d_ws->bind(); // legacy dispatch - d_ws->registerApiHandler("/jsonstat", [this](HttpRequest* req, HttpResponse* resp){jsonstat(req, resp);}, true); + d_ws->registerApiHandler( + "/jsonstat", [this](HttpRequest* req, HttpResponse* resp) { jsonstat(req, resp); }, true); d_ws->registerApiHandler("/api/v1/servers/localhost/cache/flush", apiServerCacheFlush); d_ws->registerApiHandler("/api/v1/servers/localhost/config/allow-from", apiServerConfigAllowFrom); d_ws->registerApiHandler("/api/v1/servers/localhost/config", apiServerConfig); -- 2.47.2