Skip to content

Commit

Permalink
Fix a wrong var name in a error code path of the sync.btrfs drv
Browse files Browse the repository at this point in the history
  • Loading branch information
cvaroqui committed Mar 20, 2023
1 parent 5000901 commit 7911f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opensvc/drivers/resource/sync/btrfs/__init__.py
Expand Up @@ -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
Expand Down

0 comments on commit 7911f21

Please sign in to comment.