]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Better wording for the 'no cache' case 12500/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 2 Feb 2023 09:40:33 +0000 (10:40 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 2 Feb 2023 09:40:33 +0000 (10:40 +0100)
pdns/dnsdist-web.cc

index 1ca124034da7fed3494ba89ec97d28c88d6649f9..267c05561de223c34590c56c968d4c1359b92a4a 100644 (file)
@@ -1540,7 +1540,7 @@ static void handleCacheManagement(const YaHTTP::Request& req, YaHTTP::Response&
     resp.status = 404;
     Json::object obj{
       { "status", "not found" },
-      { "error", "there is no cache associated to the requested pool" },
+      { "error", "there is no cache associated with the requested pool" },
     };
     resp.body = Json(obj).dump();
     return;