]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Reformat 10865/head
authorOtto <otto.moerbeek@open-xchange.com>
Fri, 5 Nov 2021 12:47:23 +0000 (13:47 +0100)
committerOtto <otto.moerbeek@open-xchange.com>
Fri, 5 Nov 2021 12:47:23 +0000 (13:47 +0100)
pdns/ws-recursor.cc

index c0845ea6dc1c0c2a03c98230f68bec37c8e8842f..84f6c26cbdbdf7d72bdaf7df19a03dc66df53555 100644 (file)
@@ -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);