Monitors other than Healthchecks traceback when run #336
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#336
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
What I'm trying to do and why
Run any monitor other than the Healthchecks, to verify that the Healthchecks fix (#328) in borgmatic 1.5.7 doesn't regress other monitors.
Steps to reproduce (if a bug)
Configure a non-Healthchecks monitor in the
hooks
section. Runborgmatic create
.Actual behavior (if a bug)
Observe a traceback:
Expected behavior (if a bug)
Don't traceback, and successfully ping the monitoring service.
Other notes / implementation ideas
The problem is that a
destroy_monitor()
function is now expected in each monitor, but Healthchecks is the only one that implements it. The fix is to implementdestroy_monitor()
within each other monitor hook.Environment
borgmatic version: 1.5.7
borgmatic installation method:
pip install --editable
Borg version: 1.1.11
Python version: 3.8.3
Database version (if applicable): n/a
operating system and version: Manjaro stable
Fixed in master. Will be released in the next borgmatic release.
Released in borgmatic 1.5.8.