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

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 755d602256a6a4c2634c4624d9adb091930f299c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <[email protected]>
Date: Thu, 23 May 2019 14:02:15 -0400
Subject: [PATCH] lxd/containers: Fix bad error
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <[email protected]>
---
 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 f46fc24887..cddd69ad51 100644
--- a/lxd/container_lxc.go
+++ b/lxd/container_lxc.go
@@ -4179,7 +4179,7 @@ func (c *containerLXC) Update(args db.ContainerArgs, 
userRequested bool) error {
        // Validate the new profiles
        profiles, err := c.state.Cluster.Profiles(args.Project)
        if err != nil {
-               return errors.Wrap(err, "Failed to get project profiles")
+               return errors.Wrap(err, "Failed to get profiles")
        }
 
        checkedProfiles := []string{}
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to