Skip to content

Commit

Permalink
small style
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Sep 30, 2024
1 parent 478ad5d commit c38c539
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions kong/db/declarative/import.lua
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ end
-- * <entity_name>|<ws_id>|*|<pk_string> => serialized item
-- * <entity_name>|<ws_id>|<unique_field_name>|sha256(field_value) => <entity_name>|<ws_id>|*|<pk_string>
-- * <entity_name>|<ws_id>|<foreign_field_name>|<foreign_key>|<pk_string> -> <entity_name>|<ws_id>|*|<pk_string>
--
-- DO NOT touch `item`, or else the entity will be changed
local function insert_entity_for_txn(t, entity_name, item, options)
local dao = kong.db[entity_name]
local schema = dao.schema
Expand Down
1 change: 0 additions & 1 deletion spec/01-unit/01-db/11-declarative_lmdb_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ describe("#off preserve nulls", function()
cached_item = buffer.decode(lmdb.get(value))

assert.are_same(cached_item, plugin)

assert.are_equal(cached_item.config.large, null)
assert.are_equal(cached_item.config.ttl, null)

Expand Down

0 comments on commit c38c539

Please sign in to comment.