mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 10:41:34 +00:00
Refactors user_scripts into checks (lua)
This commit is contained in:
parent
3c3aa5a25f
commit
76fd315d1b
222 changed files with 980 additions and 981 deletions
|
|
@ -90,12 +90,12 @@ if tags.ifid then
|
|||
interface.select(tags.ifid)
|
||||
end
|
||||
|
||||
if((ts_schema == "top:flow_user_script:duration")
|
||||
or (ts_schema == "top:elem_user_script:duration")
|
||||
or (ts_schema == "custom:flow_user_script:total_stats")
|
||||
or (ts_schema == "custom:elem_user_script:total_stats")) then
|
||||
if((ts_schema == "top:flow_check:duration")
|
||||
or (ts_schema == "top:elem_check:duration")
|
||||
or (ts_schema == "custom:flow_check:total_stats")
|
||||
or (ts_schema == "custom:elem_check:total_stats")) then
|
||||
-- NOTE: Temporary fix for top user scripts page
|
||||
tags.user_script = nil
|
||||
tags.check = nil
|
||||
end
|
||||
|
||||
sendHTTPHeader('application/json')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue