From da7c49e52a49a4eaea1ae96cf9be964ef59b7be8 Mon Sep 17 00:00:00 2001 From: chronolaw Date: Tue, 5 Nov 2024 09:53:39 +0800 Subject: [PATCH] Revert "check self.client_ips" This reverts commit 1f9d54fcd5f301c95ada1ff5d539aa4e701761c1. --- kong/clustering/rpc/manager.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kong/clustering/rpc/manager.lua b/kong/clustering/rpc/manager.lua index d57082662bed..99c13ab1f6e5 100644 --- a/kong/clustering/rpc/manager.lua +++ b/kong/clustering/rpc/manager.lua @@ -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()