소스 검색

Fix uptime_kuma monitor not being called after name change (#891).

Reviewed-on: https://projects.torsion.org/borgmatic-collective/borgmatic/pulls/891
Dan Helfman 11 달 전
부모
커밋
21cbc99d9e
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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',
 )