From f2cbe0b9d4237a410e10d0b8a1ddacd024afd18e Mon Sep 17 00:00:00 2001 From: chronolaw Date: Wed, 29 May 2024 09:57:10 +0800 Subject: [PATCH] feat(lib): support lua-resty-events 0.1.x and 0.2.x --- 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 67bad17..0782da9 100644 --- a/lib/resty/healthcheck.lua +++ b/lib/resty/healthcheck.lua @@ -48,7 +48,7 @@ local type = type local assert = assert -local RESTY_EVENTS_VER = [[^0\.1\.\d+$]] +local RESTY_EVENTS_VER = [[^0\.[12]\.\d+$]] local RESTY_WORKER_EVENTS_VER = "0.3.3"