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 5, 2024
1 parent 1f9d54f commit 3d9a764
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 @@ -266,9 +266,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 3d9a764

Please sign in to comment.