mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Fixes incorrect commit
This commit is contained in:
parent
07877f770d
commit
9d7bf63384
1 changed files with 2 additions and 1 deletions
|
|
@ -1699,6 +1699,7 @@ local known_parameters = {
|
|||
["srv_mac"] = validateEmptyOr(validateListOfTypeInline(validateFilters(validateMac))), -- a MAC address
|
||||
["apn_mac"] = validateEmptyOr(validateListOfTypeInline(validateFilters(validateMac))), -- a MAC address
|
||||
["tskey"] = validateUnquoted, -- timeseries name
|
||||
["ts_unify"] = validateBool, -- timeseries name
|
||||
["peer1"] = validateHost, -- a Peer in a connection
|
||||
["peer2"] = validateHost, -- another Peer in a connection
|
||||
["origin"] = validateHost, -- the source of the alert
|
||||
|
|
@ -2925,7 +2926,7 @@ local function validateParameter(k, v)
|
|||
return success, nil, v
|
||||
else
|
||||
if (trace_failures) then
|
||||
error("[LINT] Validation error: Unknown key '" .. k .. "' [" .. v .. "]: missing validation perhaps?\n")
|
||||
error("[LINT] Validation error: Unknown key '" .. k .. "' [" .. tostring(v) .. "]: missing validation perhaps?\n")
|
||||
end
|
||||
return false, nil
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue