2
0
Эх сурвалжийг харах

Fix incorrect kwarg in LVM hook (#790).

Dan Helfman 3 сар өмнө
parent
commit
cdd0e6f052

+ 1 - 1
borgmatic/hooks/data_source/lvm.py

@@ -200,7 +200,7 @@ def dump_data_sources(
     '''
     '''
     with borgmatic.hooks.command.Before_after_hooks(
     with borgmatic.hooks.command.Before_after_hooks(
         command_hooks=config.get('commands'),
         command_hooks=config.get('commands'),
-        function_name='dump_data_sources',
+        before_after='dump_data_sources',
         umask=config.get('umask'),
         umask=config.get('umask'),
         dry_run=dry_run,
         dry_run=dry_run,
         hook_name='lvm',
         hook_name='lvm',