Skip to content

Commit

Permalink
style(router): add two blank lines between functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ADD-SP committed Mar 14, 2024
1 parent 0d3b29b commit bef5aac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kong/router/fields.lua
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ if is_http then
return params
end


local function gen_http_headers_field_accessor(name)
return function(params)
if not params.headers then
Expand All @@ -271,6 +272,7 @@ if is_http then
end
end


local function gen_http_queries_field_accessor(name)
return function(params)
if not params.queries then
Expand All @@ -281,6 +283,7 @@ if is_http then
end
end


local function gen_http_segments_field_accessor(range)
return function(params)
local segments = get_http_segments(params)
Expand Down Expand Up @@ -335,6 +338,7 @@ if is_http then
end
end


get_field_accessor = function(funcs, field)
local f = FIELDS_FUNCS[field] or funcs[field]
if f then
Expand Down

0 comments on commit bef5aac

Please sign in to comment.