From b530af0eec03ef9f5661d56f94c4c6aa90426c35 Mon Sep 17 00:00:00 2001 From: mbecker20 Date: Fri, 21 Jun 2024 23:09:38 -0700 Subject: [PATCH] send_alerts for sync alert --- bin/core/src/api/write/sync.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/core/src/api/write/sync.rs b/bin/core/src/api/write/sync.rs index 2de6b0c54..3fba8267c 100644 --- a/bin/core/src/api/write/sync.rs +++ b/bin/core/src/api/write/sync.rs @@ -31,6 +31,7 @@ use serror::serialize_error_pretty; use crate::{ helpers::{ + alert::send_alerts, query::get_id_to_tags, sync::{ deployment, @@ -294,6 +295,7 @@ impl Resolve for State { .context("failed to open existing pending resource sync updates alert") .inspect_err(|e| warn!("{e:#}")) .ok(); + send_alerts(&[alert]).await; } // CLOSE ALERT (Some(existing), false) => {