Add repeat_actions to alarm
If a user want to be sure that they don't miss a notification it can set repeat_actions to true in a alarm. All actions will be called of each evaluation of the alarm instead of each change state of the alarm. Change-Id: Ibed79db99531a702c99a0b3746a76586d927eb06
This commit is contained in:
@@ -516,7 +516,8 @@ class Connection(base.Connection):
|
||||
alarm_actions=row.alarm_actions,
|
||||
insufficient_data_actions=
|
||||
row.insufficient_data_actions,
|
||||
matching_metadata=row.matching_metadata)
|
||||
matching_metadata=row.matching_metadata,
|
||||
repeat_actions=row.repeat_actions)
|
||||
|
||||
@staticmethod
|
||||
def _alarm_model_to_row(alarm, row=None):
|
||||
|
||||
Reference in New Issue
Block a user