Commit 6a9a2743 authored by Andrey Vertiprahov's avatar Andrey Vertiprahov

Merge branch 'fix-avs-escalator-param' into 'master'

Fix promote_affected_tt param when escalation item.

See merge request noc/noc!3184
parents 37f95235 e4435988
......@@ -206,7 +206,7 @@ def escalate(alarm_id, escalation_id, escalation_delay, login="correlator", *arg
log("Promoting to group tt")
gtt = tts.create_group_tt(tt_id, alarm.timestamp)
# Append affected objects
if tts.promote_affected_tt:
if a.promote_affected_tt:
for ao in alarm.iter_affected():
if ao.can_escalate(True):
if ao.tt_system == mo.tt_system:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment