Monitors other than Healthchecks traceback when run #336
Labels
No labels
blocked
breaking
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
borgmatic-collective/borgmatic#336
Loading…
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?
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
hookssection. 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 --editableBorg 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.