mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-15 01:11:58 +08:00
chore: remove stale access to modifiedIndex_org (#2825)
Since c5dcced1cf
,
modifiedIndex_org is only accessed in this place without any assignment.
This commit is contained in:
parent
b13f167445
commit
1ee7ead1e6
@ -207,7 +207,7 @@ local function set_modify_index(key, items, items_ver, global_max_index)
|
||||
if items_ver and items then
|
||||
for _, item in ipairs(items) do
|
||||
if type(item) == "table" then
|
||||
local modify_index = item.modifiedIndex_org or item.modifiedIndex
|
||||
local modify_index = item.modifiedIndex
|
||||
if modify_index > max_idx then
|
||||
max_idx = modify_index
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user