Skip to content

Commit

Permalink
remove blank lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Water-Melon committed Nov 16, 2023
1 parent 01edebf commit e380b9e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions kong/tools/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
-- @license [Apache 2.0](https://opensource.org/licenses/Apache-2.0)
-- @module kong.tools.utils

local pairs = pairs
local ipairs = ipairs
local require = require
local pairs = pairs
local ipairs = ipairs
local require = require
local fmt = string.format
local re_match = ngx.re.match


local _M = {}
Expand All @@ -30,7 +32,6 @@ do
local KEY_PTRN = "(?!kong)(?!konnect)(?!insomnia)(?!mesh)(?!kic)" .. BASE_PTRN
local VAL_PTRN = BASE_PTRN


local function validate_entry(str, max_size, pattern)
if str == "" or #str > max_size then
return nil, fmt(
Expand All @@ -42,7 +43,6 @@ do
return true
end


-- Validates a label array.
-- Validates labels based on the kong Labels AIP
function validate_labels(raw_labels)
Expand Down

0 comments on commit e380b9e

Please sign in to comment.