Minor infrastructure monitoring cleanup

This commit is contained in:
Simone Mainardi 2021-07-14 16:00:29 +02:00
parent a14a58dc1d
commit d11929f578
5 changed files with 3 additions and 5 deletions

View file

@ -512,7 +512,6 @@ function am_utils.deleteHost(host, measurement)
local host_key = am_utils.getAmHostKey(host, measurement)
local am_host_entity = alerts_api.amThresholdCrossEntity(host_key)
local old_ifname = ifname
-- Release any engaged alerts of the host
alerts_api.releaseEntityAlerts(am_host_entity)