Ver Fonte

[bugfix] uptime_kuma monitor is not called after name change

Paul Wilde há 11 meses atrás
pai
commit
d080bf2ae9
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      borgmatic/hooks/dispatch.py
  2. 1 1
      borgmatic/hooks/monitor.py

+ 1 - 1
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,
 }
 
 

+ 1 - 1
borgmatic/hooks/monitor.py

@@ -8,7 +8,7 @@ MONITOR_HOOK_NAMES = (
     'loki',
     'ntfy',
     'pagerduty',
-    'uptimekuma',
+    'uptime_kuma',
 )