Skip to content

Commit

Permalink
revert dns init elimination due to test dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ProBrian committed Aug 13, 2024
1 parent 681fc71 commit dee9c80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kong/globalpatches.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit dee9c80

Please sign in to comment.