This commit is contained in:
HgO 2024-08-12 13:28:00 +02:00
parent e7d4471c3d
commit 6d7980e6d5

View file

@ -155,9 +155,7 @@ async def create_alert(
config: Config = request.app["config"]
if alert.match_all_labels(config.dm_filter_labels):
logger.info(
f"Found all DM filter labels in alert labels"
)
logger.info("Found all DM filter labels in alert labels")
if config.dm_select_label and config.dm_select_label not in alert.labels:
logger.warning(
f"Dismissing alert: Cannot find select label {config.dm_select_label} in alert labels"