Removes unused stub lua file

This commit is contained in:
Simone Mainardi 2017-10-31 14:04:54 +01:00
parent 2262e481f8
commit ed008cbd55
2 changed files with 1 additions and 62 deletions

View file

@ -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