Pass ifid

This commit is contained in:
Alfredo Cardigliano 2023-04-24 12:43:27 +02:00
parent e9f192ad04
commit 94aced3172

View file

@ -155,9 +155,8 @@ end
--! See also Host::enqueueAlertToRecipients for alerts triggered from C++
--! @param entity_info data returned by one of the entity_info building functions
local function pushSmartRecordingFilter(entity_info, ifid)
if entity_info.alert_entity == alert_entities.host and
recording_utils.isSmartEnabled() then
recording_utils.isSmartEnabled(ifid) then
local instance = recording_utils.getN2diskInstanceName(ifid)
local ip = entity_info.entity_val