mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Refactors script_categories into check_categories (c++ and lua)
This commit is contained in:
parent
9cc3162513
commit
e33af8a23c
110 changed files with 208 additions and 208 deletions
|
|
@ -27,7 +27,7 @@ function recipients_rest_utils.parse_check_categories(categories_string)
|
|||
for _, category_id in pairs(categories) do
|
||||
local category_id = tonumber(category_id)
|
||||
|
||||
for _, category in pairs(checks.script_categories) do
|
||||
for _, category in pairs(checks.check_categories) do
|
||||
if category_id == category.id then
|
||||
res[#res + 1] = category_id
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue