Skip to content

Commit da24565

Browse files
committed
reformatted
1 parent b444a32 commit da24565

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

core

Whitespace-only changes.

infrastructure/modules/container-apps/jobs.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ module "scheduled_jobs" {
7373
var.deploy_database_as_container ? local.container_db_env : local.azure_db_env
7474
)
7575
secret_variables = merge(
76-
# { APPLICATIONINSIGHTS_CONNECTION_STRING = var.app_insights_connection_string },
7776
{ SLACK_WEBHOOK_URL = var.slack_webhook_url },
7877
var.deploy_database_as_container ? { DATABASE_PASSWORD = resource.random_password.admin_password[0].result } : {}
7978
)

infrastructure/modules/infra/logic_app.tf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module "logic_app_slack_alert" {
2-
# TODO: Add this back in before merging into main
3-
# count = var.enable_alerting ? 1 : 0
2+
count = var.enable_alerting ? 1 : 0
3+
44
source = "../dtos-devops-templates/infrastructure/modules/logic-app-slack-alert"
55

66
name = "logic-${var.app_short_name}-${var.environment}-slack-alerts"
@@ -10,6 +10,8 @@ module "logic_app_slack_alert" {
1010
}
1111

1212
resource "azurerm_monitor_action_group" "slack" {
13+
count = var.enable_alerting ? 1 : 0
14+
1315
name = "ag-slack-myapp-dev-uks"
1416
resource_group_name = azurerm_resource_group.main.name
1517
short_name = "slack"

lung_cancer_screening/questions/management/commands/request_summary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def handle(self, *args, **options):
2727
return
2828

2929
payload = {
30-
"text": f"*Request summary*\n```{json.dumps(summary, indent=2, default=str)}```"
30+
"text": f"*Request summary*\n{rs.get_submitted_count()}/{rs.get_count()} (submitted/total)"
3131
}
3232

3333
response = requests.post(

0 commit comments

Comments
 (0)