From bef5aac52906df8ff0db522acf62195541cc9233 Mon Sep 17 00:00:00 2001 From: Qi Date: Wed, 31 Jan 2024 20:34:05 +0800 Subject: [PATCH] style(router): add two blank lines between functions --- kong/router/fields.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kong/router/fields.lua b/kong/router/fields.lua index d970e74b187..2f65c4979f5 100644 --- a/kong/router/fields.lua +++ b/kong/router/fields.lua @@ -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 @@ -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 @@ -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) @@ -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