This is an automated email from the ASF dual-hosted git repository.

nic443 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new e420fa6e9 fix: get_keys only return first 1024 items in shared dict by 
default (#12380)
e420fa6e9 is described below

commit e420fa6e97aaccaa8370fe7fe68eddf3756b988e
Author: Nic <qiany...@api7.ai>
AuthorDate: Fri Jun 27 16:32:04 2025 +0800

    fix: get_keys only return first 1024 items in shared dict by default 
(#12380)
    
    Signed-off-by: Nic <qiany...@api7.ai>
---
 apisix/discovery/kubernetes/init.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apisix/discovery/kubernetes/init.lua 
b/apisix/discovery/kubernetes/init.lua
index d4f718de5..39fa69e58 100644
--- a/apisix/discovery/kubernetes/init.lua
+++ b/apisix/discovery/kubernetes/init.lua
@@ -634,7 +634,7 @@ end
 
 
 local function dump_endpoints_from_dict(endpoint_dict)
-    local keys, err = endpoint_dict:get_keys()
+    local keys, err = endpoint_dict:get_keys(0)
     if err then
         core.log.error("get keys from discovery dict failed: ", err)
         return

Reply via email to