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

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: Stéphane Graber <[email protected]>
From f4230b6534c2078d93821d83a7c8e629c4bc3eeb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <[email protected]>
Date: Tue, 21 Aug 2018 12:20:10 -0400
Subject: [PATCH] lxd/patches: Profiles are in the cluster db
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <[email protected]>
---
 lxd/patches.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxd/patches.go b/lxd/patches.go
index 2ab1b5b38d..874fe2e567 100644
--- a/lxd/patches.go
+++ b/lxd/patches.go
@@ -1766,7 +1766,7 @@ func updatePoolPropertyForAllObjects(d *Daemon, poolName 
string, allcontainers [
                        // This is nasty, but we need to clear the profiles 
config and
                        // devices in order to add the new root device 
including the
                        // newly added storage pool.
-                       tx, err := d.db.Begin()
+                       tx, err := d.cluster.Begin()
                        if err != nil {
                                return err
                        }
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to