浏览代码

Update Healthchecks deprecation warning message for clarity.

Dan Helfman 1 年之前
父节点
当前提交
77b1907d03
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      borgmatic/config/normalize.py

+ 1 - 1
borgmatic/config/normalize.py

@@ -90,7 +90,7 @@ def normalize(config_filename, config):
                 dict(
                 dict(
                     levelno=logging.WARNING,
                     levelno=logging.WARNING,
                     levelname='WARNING',
                     levelname='WARNING',
-                    msg=f'{config_filename}: The healthchecks hook now expects a mapping value. String values for this option are deprecated and support will be removed from a future release.',
+                    msg=f'{config_filename}: The healthchecks hook now expects a key/value pair with "ping_url" as a key. String values for this option are deprecated and support will be removed from a future release.',
                 )
                 )
             )
             )
         )
         )