Skip to content

Commit

Permalink
Update mattermost.py
Browse files Browse the repository at this point in the history
  • Loading branch information
luffynextgen authored Nov 15, 2023
1 parent 6317f95 commit eb3979d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elastalert/alerters/mattermost.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def alert(self, matches):

if self.mattermost_attach_opensearch_discover_url:
opensearch_discover_url = lookup_es_key(matches[0], 'opensearch_discover_url')
if kibana_discover_url:
if opensearch_discover_url:
payload['attachments'].append({
'color': self.mattermost_opensearch_discover_color,
'title': self.mattermost_opensearch_discover_title,
Expand Down

0 comments on commit eb3979d

Please sign in to comment.