mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Removes unused stub lua file
This commit is contained in:
parent
2262e481f8
commit
ed008cbd55
2 changed files with 1 additions and 62 deletions
|
|
@ -1108,8 +1108,6 @@ function singlerrd2json(ifid, host, rrdFile, start_time, end_time, rickshaw_json
|
|||
|
||||
if(prefixLabel == "Bytes") then
|
||||
prefixLabel = "Traffic"
|
||||
elseif string.starts(rrdFile, "categories/") then
|
||||
prefixLabel = prefixLabel.." Traffic"
|
||||
end
|
||||
|
||||
if(string.contains(rrdFile, "num_") or string.contains(rrdFile, "tcp_") or string.contains(rrdFile, "packets") or string.contains(rrdFile, "drops")) then
|
||||
|
|
@ -1164,8 +1162,7 @@ function singlerrd2json(ifid, host, rrdFile, start_time, end_time, rickshaw_json
|
|||
end
|
||||
|
||||
if host ~= nil and not string.starts(host, 'profile:')
|
||||
and protocol_categories[prefixLabel] == nil
|
||||
and not string.starts(rrdFile, 'categories/') then
|
||||
and protocol_categories[prefixLabel] == nil then
|
||||
extra_info = extra_info..firstToUpper(n)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue