Skip to content

Commit cdd2594

Browse files
feature: update versions of ngx-lua and stream-ngx-lua.
1 parent 0458b46 commit cdd2594

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

lib/resty/core/base.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,24 @@ local FREE_LIST_REF = 0
1919
if subsystem == 'http' then
2020
if not ngx.config
2121
or not ngx.config.ngx_lua_version
22-
or ngx.config.ngx_lua_version ~= 10029
22+
or ngx.config.ngx_lua_version ~= 10030
2323
then
2424
local ver = ngx.config and tostring(ngx.config.ngx_lua_version) or 'nil'
25-
error("ngx_http_lua_module 0.10.29 required but got " .. ver)
25+
error("ngx_http_lua_module 0.10.30 required but got " .. ver)
2626
end
2727

2828
elseif subsystem == 'stream' then
2929
if not ngx.config
3030
or not ngx.config.ngx_lua_version
31-
or ngx.config.ngx_lua_version ~= 17
31+
or ngx.config.ngx_lua_version ~= 18
3232
then
3333
local ver = ngx.config and tostring(ngx.config.ngx_lua_version) or 'nil'
34-
error("ngx_stream_lua_module 0.0.17 required but got " .. ver)
34+
error("ngx_stream_lua_module 0.0.18 required but got " .. ver)
3535
end
3636

3737
else
38-
error("ngx_http_lua_module 0.10.29 or "
39-
.. "ngx_stream_lua_module 0.0.17 required")
38+
error("ngx_http_lua_module 0.10.30 or "
39+
.. "ngx_stream_lua_module 0.0.18 required")
4040
end
4141

4242

0 commit comments

Comments
 (0)