Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Dec 22, 2024
1 parent dbc4dc2 commit e8183a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kong/clustering/rpc/socket.lua
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ function _M:start()
assert(typ == "binary")

local payloads
local results = {}

local payload = decompress_payload(data)

if isarray(payload) then
Expand All @@ -241,7 +243,7 @@ function _M:start()
end -- isarray

for _, v in ipairs(payloads) do
local ok, err = self:process_rpc_msg(payload)
local ok, err = self:process_rpc_msg(v)
if not ok then
return nil, err
end
Expand Down

0 comments on commit e8183a9

Please sign in to comment.