The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/6923

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) ===
Closes #6922

Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From be4226c61980f94db8361225decdd4af2fabf2ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com>
Date: Sun, 23 Feb 2020 13:35:50 -0500
Subject: [PATCH] lxd/containers: Have findIdmap look at projects
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Closes #6922

Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
---
 lxd/container_lxc.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxd/container_lxc.go b/lxd/container_lxc.go
index edc5f95cb1..7145db22a0 100644
--- a/lxd/container_lxc.go
+++ b/lxd/container_lxc.go
@@ -579,7 +579,7 @@ func findIdmap(state *state.State, cName string, 
isolatedStr string, configBase
        idmapLock.Lock()
        defer idmapLock.Unlock()
 
-       cts, err := instanceLoadAll(state)
+       cts, err := instance.LoadNodeAll(state, instancetype.Container)
        if err != nil {
                return nil, 0, err
        }
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to