From 0afbca9858e12d41ffdda20373745b7dd8d6db15 Mon Sep 17 00:00:00 2001 From: Xiaochen Wang Date: Thu, 4 Jul 2024 10:44:25 +0800 Subject: [PATCH] fix lint warnings --- spec/01-unit/21-dns-client/02-client_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/01-unit/21-dns-client/02-client_spec.lua b/spec/01-unit/21-dns-client/02-client_spec.lua index bbbc03e3967f..a90ed18669f5 100644 --- a/spec/01-unit/21-dns-client/02-client_spec.lua +++ b/spec/01-unit/21-dns-client/02-client_spec.lua @@ -1989,7 +1989,7 @@ describe("[DNS client]", function() local force_enable_additional_section = false -- dns client will ignore additional section - query_func = function(self, original_query_func, name, options) + resolver.query_func = function(self, original_query_func, name, options) if options.qtype ~= client.TYPE_A then return { errcode = 5, errstr = "refused" } end