Skip to content

Commit

Permalink
OS-7803. Update insider_prices_sslerror email template
Browse files Browse the repository at this point in the history
  • Loading branch information
ek-hystax authored Oct 1, 2024
1 parent 9dc3f56 commit 4e7700d
Show file tree
Hide file tree
Showing 3 changed files with 289 additions and 573 deletions.
9 changes: 2 additions & 7 deletions docker_images/herald_executor/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -873,15 +873,10 @@ def execute_insider_prices(self):
public_ip = self.config_cl.public_ip()
title = 'Insider faced Azure SSLError'
subject = f'[{public_ip}] {title}'
template_params = {
'texts': {
'title': title
}
}
self.herald_cl.email_send(
[email], subject,
template_type=HeraldTemplates.INSIDER_SSLERROR.value,
template_params=template_params)
template_type=HeraldTemplates.INSIDER_SSLERROR.value
)

def execute(self, task):
organization_id = task.get('organization_id')
Expand Down
Loading

0 comments on commit 4e7700d

Please sign in to comment.