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

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 a6117fba820ee013e9c645f54078766b8466fe38 Mon Sep 17 00:00:00 2001
From: Thomas Parrott <thomas.parr...@canonical.com>
Date: Wed, 16 Dec 2020 16:54:26 +0000
Subject: [PATCH] lxd/network/driver/physical: Clarify error when changing
 parent interface when in use

Signed-off-by: Thomas Parrott <thomas.parr...@canonical.com>
---
 lxd/network/driver_physical.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxd/network/driver_physical.go b/lxd/network/driver_physical.go
index 51d5f16b8c..173fbfc774 100644
--- a/lxd/network/driver_physical.go
+++ b/lxd/network/driver_physical.go
@@ -247,7 +247,7 @@ func (n *physical) Update(newNetwork api.NetworkPut, 
targetNode string, clientTy
                if hostNameChanged {
                        isUsed, err := n.IsUsed()
                        if isUsed || err != nil {
-                               return fmt.Errorf("Cannot update network host 
name when in use")
+                               return fmt.Errorf("Cannot update network parent 
interface when in use")
                        }
 
                        inUse, err := n.checkParentUse(newNetwork.Config)
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to