Skip to content

Commit

Permalink
assert(inst:remove_matcher(id))
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Sep 2, 2022
1 parent dbcbded commit e9812b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kong/router/atc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ local function new_from_previous(routes, get_exp_priority, old_router)
r.seen = nil

else
inst:remove_matcher(id)
assert(inst:remove_matcher(id))

old_routes[id] = nil
old_services[id] = nil
end
Expand Down

0 comments on commit e9812b9

Please sign in to comment.