From e06dc882d294e13910ad24cc0f35376e9bd8ba1c Mon Sep 17 00:00:00 2001 From: Mayo Date: Fri, 21 Jan 2022 18:14:17 +0800 Subject: [PATCH] Fix is_array var --- lib/resty/healthcheck.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/resty/healthcheck.lua b/lib/resty/healthcheck.lua index 264976f1..846db76e 100644 --- a/lib/resty/healthcheck.lua +++ b/lib/resty/healthcheck.lua @@ -68,7 +68,7 @@ do end end - local ok, is_array = pcall(require, "table.isarray") + ok, is_array = pcall(require, "table.isarray") if not ok then is_array = function(t) for k in pairs(t) do