From e7252c75454ac9727dbd240cf7cbbbf5c063ee35 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Thu, 21 Sep 2023 22:06:08 +0200 Subject: [PATCH] remove comments about tags --- borgmatic/config/schema.yaml | 20 +------------------- borgmatic/hooks/apprise.py | 1 - 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/borgmatic/config/schema.yaml b/borgmatic/config/schema.yaml index 9a37c884..43754e5c 100644 --- a/borgmatic/config/schema.yaml +++ b/borgmatic/config/schema.yaml @@ -1308,7 +1308,7 @@ properties: - finish apprise: type: object - required: ['service_urls'] # TODO + required: ['service_urls'] additionalProperties: false properties: service_urls: @@ -1344,12 +1344,6 @@ properties: - warning example: - failure - # tags: - # type: array - # items: - # type: string - # description: | - # One or more tags to filter which services to notify. finish: type: object properties: @@ -1374,12 +1368,6 @@ properties: - warning example: - failure - # tags: - # type: array - # items: - # type: string - # description: | - # One or more tags to filter which services to notify. fail: type: object properties: @@ -1404,12 +1392,6 @@ properties: - warning example: - failure - # tags: - # type: array - # items: - # type: string - # description: | - # One or more tags to filter which services to notify. states: type: array items: diff --git a/borgmatic/hooks/apprise.py b/borgmatic/hooks/apprise.py index 53f46c93..c4ee6bc2 100644 --- a/borgmatic/hooks/apprise.py +++ b/borgmatic/hooks/apprise.py @@ -32,7 +32,6 @@ def ping_monitor(hook_config, config, config_filename, state, monitoring_log_lev 'title': f'A borgmatic {state.name} event happened', 'body': f'A borgmatic {state.name} event happened', 'notification_type': default_notify_type(state.name.lower()), - # 'tag': ['borgmatic'], }, )