The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/8006
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) === This should let us come up with a proper fix for https://github.com/lxc/lxd/issues/8004 Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From 11450c0a9c9c428a7f27f4cc90da05e78b5828a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com> Date: Fri, 9 Oct 2020 07:29:24 -0400 Subject: [PATCH] lxc-to-lxd: Handle snap better MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber <stgra...@ubuntu.com> --- lxc-to-lxd/main_migrate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc-to-lxd/main_migrate.go b/lxc-to-lxd/main_migrate.go index 5012afbe85..7937b847f0 100644 --- a/lxc-to-lxd/main_migrate.go +++ b/lxc-to-lxd/main_migrate.go @@ -71,7 +71,7 @@ func (c *cmdMigrate) RunE(cmd *cobra.Command, args []string) error { } // Retrieve LXC containers - for _, container := range liblxc.Containers(c.flagLXCPath) { + for _, container := range liblxc.Containers(shared.HostPathFollow(c.flagLXCPath)) { if !c.flagAll && !shared.StringInSlice(container.Name(), c.flagContainers) { continue }
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel