linting
This commit is contained in:
parent
e7d4471c3d
commit
6d7980e6d5
1 changed files with 1 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue