Skip to content

Commit

Permalink
change: we now require ngx_stream_lua v0.0.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultcha committed Apr 9, 2019
1 parent fe16827 commit 77cb5c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/resty/core/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ if subsystem == 'http' then
elseif subsystem == 'stream' then
if not ngx.config
or not ngx.config.ngx_lua_version
or ngx.config.ngx_lua_version ~= 6
or ngx.config.ngx_lua_version ~= 7
then
error("ngx_stream_lua_module 0.0.6 required")
error("ngx_stream_lua_module 0.0.7 required")
end

else
error("ngx_http_lua_module 0.10.15 or "
.. "ngx_stream_lua_module 0.0.6 required")
.. "ngx_stream_lua_module 0.0.7 required")
end


Expand Down

0 comments on commit 77cb5c3

Please sign in to comment.