diff --git a/NEWS b/NEWS index 4b8dcb37..565d5c78 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,5 @@ 1.8.1.dev0 - * #728: Fix for "prune" action error when using the "keep_exclude_tags" option in configuration. + * #728: Fix for "prune" action error when using the "keep_exclude_tags" option. * #730: Fix for Borg's interactive prompt on the "check --repair" action automatically getting answered "NO" even when the "check_i_know_what_i_am_doing" option isn't set. diff --git a/borgmatic/hooks/ntfy.py b/borgmatic/hooks/ntfy.py index abe976f0..c1be2a1b 100644 --- a/borgmatic/hooks/ntfy.py +++ b/borgmatic/hooks/ntfy.py @@ -28,8 +28,8 @@ def ping_monitor(hook_config, config, config_filename, state, monitoring_log_lev state_config = hook_config.get( state.name.lower(), { - 'title': f'A Borgmatic {state.name} event happened', - 'message': f'A Borgmatic {state.name} event happened', + 'title': f'A borgmatic {state.name} event happened', + 'message': f'A borgmatic {state.name} event happened', 'priority': 'default', 'tags': 'borgmatic', }, diff --git a/docs/how-to/monitor-your-backups.md b/docs/how-to/monitor-your-backups.md index 7967c8ab..05d1163a 100644 --- a/docs/how-to/monitor-your-backups.md +++ b/docs/how-to/monitor-your-backups.md @@ -304,17 +304,17 @@ ntfy: topic: my-unique-topic server: https://ntfy.my-domain.com start: - title: A Borgmatic backup started + title: A borgmatic backup started message: Watch this space... tags: borgmatic priority: min finish: - title: A Borgmatic backup completed successfully + title: A borgmatic backup completed successfully message: Nice! tags: borgmatic,+1 priority: min fail: - title: A Borgmatic backup failed + title: A borgmatic backup failed message: You should probably fix it tags: borgmatic,-1,skull priority: max diff --git a/tests/unit/hooks/test_ntfy.py b/tests/unit/hooks/test_ntfy.py index 7bace524..2d790fa2 100644 --- a/tests/unit/hooks/test_ntfy.py +++ b/tests/unit/hooks/test_ntfy.py @@ -10,8 +10,8 @@ custom_base_url = 'https://ntfy.example.com' topic = 'borgmatic-unit-testing' custom_message_config = { - 'title': 'Borgmatic unit testing', - 'message': 'Borgmatic unit testing', + 'title': 'borgmatic unit testing', + 'message': 'borgmatic unit testing', 'priority': 'min', 'tags': '+1', } @@ -26,8 +26,8 @@ custom_message_headers = { def return_default_message_headers(state=Enum): headers = { - 'X-Title': f'A Borgmatic {state.name} event happened', - 'X-Message': f'A Borgmatic {state.name} event happened', + 'X-Title': f'A borgmatic {state.name} event happened', + 'X-Message': f'A borgmatic {state.name} event happened', 'X-Priority': 'default', 'X-Tags': 'borgmatic', }