Skip to content

Commit

Permalink
Added debug to test on dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandhya1874 committed Dec 3, 2024
1 parent c837371 commit f4c9a6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions github_discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -662,10 +662,12 @@ def process_repo(**component):
if 'preprod' in alert_severity_label_envs:
alert_severity_label = alert_severity_label_envs["preprod"]["alert_severity_label"]
channel = find_channel_by_severity_label(alert_severity_label)
log.info(f'Alerts channel for preprod {alert_severity_label}: {channel}')
data.update({'alerts_nonprod_slack_channel': channel})
if 'prod' in alert_severity_label_envs:
alert_severity_label = alert_severity_label_envs["prod"]["alert_severity_label"]
channel = find_channel_by_severity_label(alert_severity_label)
log.info(f'Alerts channel for prod {alert_severity_label}: {channel}')
data.update({'alerts_prod_slack_channel': channel})

environments = []
Expand Down

0 comments on commit f4c9a6c

Please sign in to comment.