From 7911f21e603c31d64d0098ac3cba49c0fb209e57 Mon Sep 17 00:00:00 2001 From: Christophe Varoqui Date: Mon, 20 Mar 2023 17:20:11 +0100 Subject: [PATCH] Fix a wrong var name in a error code path of the sync.btrfs drv --- opensvc/drivers/resource/sync/btrfs/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opensvc/drivers/resource/sync/btrfs/__init__.py b/opensvc/drivers/resource/sync/btrfs/__init__.py index d0a1dce9e..ee6aa587b 100644 --- a/opensvc/drivers/resource/sync/btrfs/__init__.py +++ b/opensvc/drivers/resource/sync/btrfs/__init__.py @@ -227,7 +227,7 @@ def recreate_snaps(self, snaps): try: self.src_btrfs.snapshots(snaps, readonly=True) except utilities.subsystems.btrfs.ExistError: - self.log.error("%s should not exist"%snap) + self.log.error("%s should not exist"%snaps) raise ex.Error except utilities.subsystems.btrfs.ExecError: raise ex.Error