From e3a88254ba32e212ca0e4522454da4e7c4f21f71 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 19 Feb 2022 18:31:36 +0100 Subject: zfssnap: ... --- modules/zfssnap/zfssnap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/zfssnap/zfssnap.py') diff --git a/modules/zfssnap/zfssnap.py b/modules/zfssnap/zfssnap.py index 597b7f04..69ab1ae6 100644 --- a/modules/zfssnap/zfssnap.py +++ b/modules/zfssnap/zfssnap.py @@ -88,7 +88,7 @@ def prune(config, dry_run, keep_newest): logger.warn(f'Nothing to keep for ‘{base}’') continue - logger.info(f'Using ‘{time_ref["name"]}’ as time reference for ‘{base}’') + logger.info(f'Using ‘{time_ref.name}’ as time reference for ‘{base}’') within_cutoff = time_ref.creation - within for snap in snaps: -- cgit v1.2.3