From 4955f43116ce4d8b733a5a4ef0a1325d72bdb25d Mon Sep 17 00:00:00 2001 From: tweyseo Date: Fri, 8 Jul 2022 16:47:14 +0800 Subject: bugfix:allow get() in sharedict return value and nil --- meta/3rd/OpenResty/library/ngx.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/3rd/OpenResty/library/ngx.lua') diff --git a/meta/3rd/OpenResty/library/ngx.lua b/meta/3rd/OpenResty/library/ngx.lua index 60102245..28fd30d1 100644 --- a/meta/3rd/OpenResty/library/ngx.lua +++ b/meta/3rd/OpenResty/library/ngx.lua @@ -1277,7 +1277,7 @@ local DICT = {} --- ---@param key string ---@return ngx.shared.DICT.value? value ----@return ngx.shared.DICT.flags?|string? flags_or_error +---@return ngx.shared.DICT.flags|string|nil flags_or_error function DICT:get(key) end -- cgit v1.2.3