mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Disabled debug print
This commit is contained in:
parent
6a65650a9d
commit
5a08d6336b
1 changed files with 3 additions and 3 deletions
|
|
@ -728,9 +728,9 @@ local function delta_val(reg, metric_name, granularity, curr_val, skip_first)
|
|||
local prev_val
|
||||
local prev = reg.getCachedAlertValue(key, granularity_num)
|
||||
if prev == nil or type(prev) == "table" then -- Safety check and debug
|
||||
traceError(TRACE_ERROR, TRACE_CONSOLE, "Bad prev val")
|
||||
tprint(prev)
|
||||
tprint(debug.traceback())
|
||||
--traceError(TRACE_ERROR, TRACE_CONSOLE, "Bad prev val")
|
||||
--tprint(prev)
|
||||
--tprint(debug.traceback())
|
||||
else
|
||||
prev_val = tonumber(prev)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue