Handles errors when retrieving top talkers

This commit is contained in:
Simone Mainardi 2016-02-02 10:46:56 +01:00
parent 418f48e714
commit e8a3d43065
2 changed files with 8 additions and 6 deletions

View file

@ -56,7 +56,6 @@ else
elseif epoch_end == nil or epoch_end == "" then
epoch_start = epoch_start+60 -- we return the minute before the event as epochs are stored in the DB 'past' the time period
top = mod.getHistoricalTop(ifid, ifname, epoch_start, add_vlan)
tprint(top)
print(top)
else
local res = {}