Fixes flow process trees

This commit is contained in:
Simone Mainardi 2019-10-16 19:30:31 +02:00
parent 34fb0de859
commit 63ce367f8b
2 changed files with 3 additions and 2 deletions

View file

@ -11,7 +11,8 @@ local json = require "dkjson"
sendHTTPHeader('text/json')
local flow_key = _GET["flow_key"]
local flow = interface.findFlowByKeyAndHashId(tonumber(flow_key), 0 --[[ TODO --]])
local flow_hash_id = _GET["flow_hash_id"]
local flow = interface.findFlowByKeyAndHashId(tonumber(flow_key), tonumber(flow_hash_id))
local tree = {}
local function format_proc(name, pid)