This is an automated email from the ASF dual-hosted git repository. spacewander pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push: new 3a83240e5 chore: fix confusing var name (#6808) 3a83240e5 is described below commit 3a83240e55d6db5c6509c814456a00bd51f4987b Author: 罗泽轩 <spacewander...@gmail.com> AuthorDate: Mon Apr 11 09:45:47 2022 +0800 chore: fix confusing var name (#6808) --- apisix/stream/router/ip_port.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apisix/stream/router/ip_port.lua b/apisix/stream/router/ip_port.lua index 74563f9e4..897a73f26 100644 --- a/apisix/stream/router/ip_port.lua +++ b/apisix/stream/router/ip_port.lua @@ -189,9 +189,9 @@ end local function stream_route_checker(item) if item.plugins then - local err, message = stream_plugin_checker(item) - if not err then - return err, message + local ok, message = stream_plugin_checker(item) + if not ok then + return false, message end end -- validate the address format when remote_address or server_address is not nil