Skip to content

Commit 5be397a

Browse files
authored
avoid setting no_parameter_match variable while updating a route (#131)
1 parent 797216c commit 5be397a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/resty/radixtree.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -906,10 +906,6 @@ function _M.update_route(self, pre_r, r, opts)
906906
pre_delete_route(self, k, pre_r, opts)
907907
end
908908

909-
local opts = {
910-
no_param_match = true
911-
}
912-
913909
for k,v in pairs(t) do
914910
pre_insert_route(self, k, r, opts)
915911
end

0 commit comments

Comments
 (0)