From 0d3c49175199668be7af0bc5f281ff808deae4cb Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 2 Feb 2023 10:40:33 +0100 Subject: [PATCH] dnsdist: Better wording for the 'no cache' case --- pdns/dnsdist-web.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdist-web.cc b/pdns/dnsdist-web.cc index 1ca124034d..267c05561d 100644 --- a/pdns/dnsdist-web.cc +++ b/pdns/dnsdist-web.cc @@ -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; -- 2.47.2