Skip to content

Commit

Permalink
use opt in select
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Nov 7, 2024
1 parent 80e87df commit ce4dfe3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kong/clustering/services/sync/rpc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ local function do_sync()
ev = { delta_type, crud_event_type, delta_entity, old_entity, }

else
-- delete the entity
local old_entity, err = kong.db[delta_type]:select(delta.pk) -- composite key
-- delete the entity, opts for getting correct lmdb key
local old_entity, err = kong.db[delta_type]:select(delta.pk, opts) -- composite key
if err then
return nil, err
end
Expand Down

0 comments on commit ce4dfe3

Please sign in to comment.