瀏覽代碼

Fix incorrect option names in config normalize warning message (#1096).

Reviewed-on: https://projects.torsion.org/borgmatic-collective/borgmatic/pulls/1096
Dan Helfman 2 周之前
父節點
當前提交
ae1fbf7940
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      borgmatic/config/normalize.py

+ 1 - 1
borgmatic/config/normalize.py

@@ -159,7 +159,7 @@ def normalize(config_filename, config):
                 dict(
                     levelno=logging.WARNING,
                     levelname='WARNING',
-                    msg=f'{config_filename}: The borgmatic_source_directory option is deprecated and will be removed from a future release. Use borgmatic_runtime_directory and borgmatic_state_directory instead.',
+                    msg=f'{config_filename}: The borgmatic_source_directory option is deprecated and will be removed from a future release. Use user_runtime_directory and user_state_directory instead.',
                 )
             )
         )