From 49199566283d2ee6313edaa7299f34e57a4f817d Mon Sep 17 00:00:00 2001 From: chronolaw Date: Tue, 22 Oct 2024 15:03:05 +0800 Subject: [PATCH] fix(db): use request_aware_table correctly --- kong/db/schema/others/declarative_config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kong/db/schema/others/declarative_config.lua b/kong/db/schema/others/declarative_config.lua index 6d7c47e4d50e..42b165f7e7ff 100644 --- a/kong/db/schema/others/declarative_config.lua +++ b/kong/db/schema/others/declarative_config.lua @@ -59,7 +59,7 @@ do CACHED_OUT = request_aware_table.new() end - CACHED_OUT.clear() + CACHED_OUT:clear() for i = 1, count do local k = primary_key[i] insert(CACHED_OUT, tostring(object[k]))