Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
Signed-off-by: Nic <qianyong@api7.ai>
  • Loading branch information
nic-6443 committed Dec 25, 2024
1 parent b524029 commit 1caa496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apisix/core/table.lua
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ do
-- prevent infinite loop when a field refers its parent
copied[orig] = copy
for orig_key, orig_value in pairs(orig) do
local path = parent .. "." .. orig_key
local path = parent .. "." .. tostring(orig_key)
if opts and array_find(opts.shallows, path) then
copy[orig_key] = orig_value
else
Expand Down

0 comments on commit 1caa496

Please sign in to comment.