mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fix redis cache. (#7625)
This commit is contained in:
parent
d468a4223b
commit
89483920a8
4 changed files with 76 additions and 86 deletions
|
|
@ -38,7 +38,7 @@ else
|
|||
del_result = delete_all_hosts_to_scan()
|
||||
end
|
||||
|
||||
if del_result == 1 then
|
||||
if del_result then
|
||||
rest_utils.answer(rest_utils.consts.success.ok)
|
||||
else
|
||||
rest_utils.answer(rest_utils.consts.err.internal_error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue