The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/6218
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Signed-off-by: Thomas Parrott <thomas.parr...@canonical.com>
From baac8b63fb9dc5559c3e6fbad1d14db3c1b5ce3d Mon Sep 17 00:00:00 2001 From: Thomas Parrott <thomas.parr...@canonical.com> Date: Tue, 17 Sep 2019 09:07:14 +0100 Subject: [PATCH] lxd/storage/btrfs: Fixes bug with BTRFS snapshot copy Signed-off-by: Thomas Parrott <thomas.parr...@canonical.com> --- lxd/storage_btrfs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxd/storage_btrfs.go b/lxd/storage_btrfs.go index a47205b80a..e16d7a2ac2 100644 --- a/lxd/storage_btrfs.go +++ b/lxd/storage_btrfs.go @@ -1178,7 +1178,7 @@ func (s *storageBtrfs) ContainerCopy(target Instance, source Instance, container return err } - err = s.copySnapshot(sourceSnapshot, targetSnapshot) + err = s.copySnapshot(targetSnapshot, sourceSnapshot) if err != nil { return err }
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel