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

Reviewed-on: https://projects.torsion.org/borgmatic-collective/borgmatic/pulls/1096
This commit is contained in:
Dan Helfman
2025-05-15 02:32:23 +00:00
+1 -1
View File
@@ -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.',
)
)
)