Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Mar 28, 2024
1 parent c9e07f7 commit c1c8dd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kong/router/transform.lua
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ end

-- split routes into multiple routes, one for each prefix length and one for all
-- regular expressions
local function split_route_by_path_into(route_and_service, routes_and_services_split)
local function split_route_by_path_info(route_and_service, routes_and_services_split)
local original_route = route_and_service.route

if is_empty_field(original_route.paths) or #original_route.paths == 1 or
Expand Down Expand Up @@ -724,7 +724,7 @@ local function split_routes_and_services_by_path(routes_and_services)
local routes_and_services_split = tb_new(count, 0)

for i = 1, count do
split_route_by_path_into(routes_and_services[i], routes_and_services_split)
split_route_by_path_info(routes_and_services[i], routes_and_services_split)
end

return routes_and_services_split
Expand Down

0 comments on commit c1c8dd3

Please sign in to comment.