Fix missing RTT stats delete due wrong key

This commit is contained in:
emanuele-f 2020-03-20 09:57:59 +01:00
parent e8f4dfc97a
commit 09ee54b967

View file

@ -175,7 +175,7 @@ function rtt_utils.deleteHost(host, measurement)
ts_utils.delete("rtt_host", {ifid=getSystemInterfaceId(), host=host, measurement=measurement})
-- Remove the redis keys of the host
ntop.delCache(rtt_last_updates_key(host))
ntop.delCache(rtt_last_updates_key(host_key))
ntop.delHashCache(rtt_hosts_key, host_key)
end