From: grid Date: Wed, 13 Dec 2017 13:50:54 +0000 (+0100) Subject: modules/policy: local variable declarations were fixed; cleanup X-Git-Tag: v2.0.0~43^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c231e2641bb5ef68c148ad0fd61aa2e56e6f345;p=thirdparty%2Fknot-resolver.git modules/policy: local variable declarations were fixed; cleanup --- diff --git a/modules/policy/policy.lua b/modules/policy/policy.lua index 2773c5fe6..f662a75d7 100644 --- a/modules/policy/policy.lua +++ b/modules/policy/policy.lua @@ -143,7 +143,7 @@ local function tls_forward(target) if hostname == nil then assert(false, 'hostname(s) is absent in TLS_FORWARD target') end - ca_files_local = {} + local ca_files_local = {} if type(ca_file) == 'table' then for _, v in pairs(ca_file) do table.insert(ca_files_local, v)