Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Nov 11, 2023
1 parent a89b717 commit 4868c4e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions kong/router/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,9 @@ function _M.new(routes, cache, cache_neg, old_router)
return nil, err
end

-- for unit-tests only
_M._set_ngx = router._set_ngx

return setmetatable({
trad = trad,
_set_ngx = trad._set_ngx, -- for unit-testing only
}, _MT)
end

Expand Down

0 comments on commit 4868c4e

Please sign in to comment.