소스 검색

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.',
                 )
             )
         )