From dee9c80990e4807a5efdfea5587e6cac3461ae5f Mon Sep 17 00:00:00 2001 From: ProBrian Date: Tue, 13 Aug 2024 15:54:29 +0800 Subject: [PATCH] revert dns init elimination due to test dependency --- kong/globalpatches.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/kong/globalpatches.lua b/kong/globalpatches.lua index 8d2a318568e3..86ceacd0f845 100644 --- a/kong/globalpatches.lua +++ b/kong/globalpatches.lua @@ -521,6 +521,7 @@ return function(options) local client = package.loaded["kong.resty.dns.client"] if not client then + -- dns initialized here, can't be eliminated due to test dependencies client = require("kong.tools.dns")() end