Skip to content

Commit

Permalink
Fix multiple sync.btrfs resources mixing src snap dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
cvaroqui committed Mar 20, 2023
1 parent c391bd4 commit 6815b84
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 @@ -158,7 +158,7 @@ def pre_action(self, action):

for subvol in r.subvols():
src = r.src_btrfs.rootdir + "/" + subvol["path"]
dst = self.src_snap_next(subvol)
dst = r.src_snap_next(subvol)
tosends.append((src, dst))

r.recreate_snaps(tosends)
Expand Down

0 comments on commit 6815b84

Please sign in to comment.