mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 10:41:34 +00:00
Fix lint failure
This commit is contained in:
parent
d469797d09
commit
0913e86d38
1 changed files with 1 additions and 1 deletions
|
|
@ -2997,7 +2997,7 @@ local function validateParameter(k, v)
|
|||
|
||||
-- Success, all the table keys have been validated successfully
|
||||
return true, "OK", v
|
||||
elseif k:starts('custom_fields') then
|
||||
elseif type(k) == "string" and k:starts('custom_fields') then
|
||||
-- Possible error, try the last check for historical custom_fields
|
||||
local tmp_1 = k:split("_")
|
||||
local i = 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue