Skip to content

Commit

Permalink
Revert "check self.client_ips"
Browse files Browse the repository at this point in the history
This reverts commit 1f9d54f.
  • Loading branch information
chronolaw committed Nov 11, 2024
1 parent 4d0051c commit da7c49e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions kong/clustering/rpc/manager.lua
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,7 @@ function _M:handle_websocket()
self:_add_socket(s, rpc_capabilities)

-- store DP's ip addr
if self.client_ips then
self.client_ips[node_id] = ngx_var.remote_addr
end
self.client_ips[node_id] = ngx_var.remote_addr

s:start()
local res, err = s:join()
Expand Down

0 comments on commit da7c49e

Please sign in to comment.