Skip to content

Commit

Permalink
remove unused remove_nulls in off/init.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Oct 16, 2024
1 parent 4233bc4 commit 507c578
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions kong/db/strategies/off/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -213,21 +213,6 @@ local function select_by_field(self, field, value, options)
end


--[[
local function remove_nulls(tbl)
for k,v in pairs(tbl) do
if v == null then
tbl[k] = nil
elseif type(v) == "table" then
tbl[k] = remove_nulls(v)
end
end
return tbl
end
--]]


do
local unsupported = function(operation)
return function(self)
Expand Down

0 comments on commit 507c578

Please sign in to comment.