Skip to content

Commit 685be37

Browse files
author
Phil Rzewski
committed
Appent note to Description indicating the Alert was created programmatically
1 parent 027f423 commit 685be37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/restore_alerts.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
with open(alerts_dump_file, 'r') as f:
2929
j = json.load(f)
3030
for a in j['alerts']:
31+
a['description'] += ' (created via restore_alerts.py)'
3132
res = sdclient.create_alert(alert_obj=a)
3233
if not res[0]:
3334
print res[1]

0 commit comments

Comments
 (0)