From 3d9a76454e027929a957221b97e43ec8b47817c5 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 b91882068f3c..22837235cedf 100644 --- a/kong/clustering/rpc/manager.lua +++ b/kong/clustering/rpc/manager.lua @@ -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()