Browse Source

remove comments about tags

Pim Kunis 1 year ago
parent
commit
e7252c7545
2 changed files with 1 additions and 20 deletions
  1. 1 19
      borgmatic/config/schema.yaml
  2. 0 1
      borgmatic/hooks/apprise.py

+ 1 - 19
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:

+ 0 - 1
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'],
         },
     )