mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-26 07:25:51 +03:00
[GH-ISSUE #533] subject filter: treat failure before success #386
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#386
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @swoga on GitHub (Jun 21, 2021).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/533
Currently, an inbound email is treated as successful if one success keyword matches without checking the failure keywords.
What do you think about reversing this if-statement? I think this would lead to more expected behavior (failure before success).
github.com/healthchecks/healthchecks@6c8b6a2a19/hc/api/management/commands/smtpd.py (L48-L51)Example of backup software subjects
Success Keywords: Successful
Failure Keywords: Failed, Issue, Warning