From d080bf2ae91b508ee5203788205fbce4c95bd3a4 Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Thu, 27 Jun 2024 12:49:07 +0100 Subject: [PATCH] [bugfix] uptime_kuma monitor is not called after name change --- borgmatic/hooks/dispatch.py | 2 +- borgmatic/hooks/monitor.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/borgmatic/hooks/dispatch.py b/borgmatic/hooks/dispatch.py index d41ebab..6131ef6 100644 --- a/borgmatic/hooks/dispatch.py +++ b/borgmatic/hooks/dispatch.py @@ -31,7 +31,7 @@ HOOK_NAME_TO_MODULE = { 'pagerduty': pagerduty, 'postgresql_databases': postgresql, 'sqlite_databases': sqlite, - 'uptimekuma': uptimekuma, + 'uptime_kuma': uptimekuma, } diff --git a/borgmatic/hooks/monitor.py b/borgmatic/hooks/monitor.py index 1b4e273..9512fe9 100644 --- a/borgmatic/hooks/monitor.py +++ b/borgmatic/hooks/monitor.py @@ -8,7 +8,7 @@ MONITOR_HOOK_NAMES = ( 'loki', 'ntfy', 'pagerduty', - 'uptimekuma', + 'uptime_kuma', )