Skip to content

Commit

Permalink
Fixes sources type in error creation (was string, is array) (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-afedorov authored and Soumitr committed Oct 26, 2018
1 parent 1e1e935 commit 1a46b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/alert_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def log_failure(ctx, alert, e):
'QUERY_ID': 'db9fa0d114d54b5ca1a195e34fb8752b',
'QUERY_NAME': 'Alert Handler Failure',
'ENVIRONMENT': 'SnowAlert',
'SOURCES': 'Alerts Table',
'SOURCES': ['Alerts Table'],
'ACTOR': 'Alert Handler',
'OBJECT': alert['ALERT_ID'],
'ACTION': 'The Alert Handler failed to create a ticket',
Expand Down

0 comments on commit 1a46b20

Please sign in to comment.