Skip to content

Commit

Permalink
fix test cases failure
Browse files Browse the repository at this point in the history
  • Loading branch information
chobits committed Jan 28, 2024
1 parent d9eccf2 commit 0393b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/globalpatches.lua
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ return function(options)
end
end

return f(sock, host, port, opts)
return f(sock, host, port, port and opts or nil)
end

local function tcp_resolve_connect(sock, host, port, opts)
Expand Down

0 comments on commit 0393b3d

Please sign in to comment.