mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Refactors data delete_data_utils for the use with nEdge
This commit is contained in:
parent
409c8f50ab
commit
bf43aceb9c
5 changed files with 77 additions and 10 deletions
|
|
@ -642,7 +642,7 @@ function driver:delete(schema_prefix, tags)
|
|||
|
||||
local path_to_del = os_utils.fixPath(delete_info.path(tags))
|
||||
|
||||
if not ntop.exists(path_to_del) or not ntop.rmdir(path_to_del) then
|
||||
if ntop.exists(path_to_del) and not ntop.rmdir(path_to_del) then
|
||||
return false
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue