Refactors alrt builders into creators

Refactors builders into creators: calls
This commit is contained in:
Simone Mainardi 2020-04-27 15:36:34 +02:00
parent 00c5e9f909
commit 290175b16f
75 changed files with 158 additions and 158 deletions

View file

@ -586,7 +586,7 @@ local function amThresholdCrossType(value, threshold, ip, granularity, entity_in
local host = am_utils.key2host(entity_info.alert_entity_val)
local m_info = am_utils.getMeasurementInfo(host.measurement)
local alert_type = alert_consts.alert_types.alert_am_threshold_cross.builder(
local alert_type = alert_consts.alert_types.alert_am_threshold_cross.create(
alert_consts.alert_severities.warning,
alert_consts.alerts_granularities[granularity],
value,