[lxc-devel] [lxd/master] Fixed minor typo in checkNetwork error message

vahe on Github lxc-bot at linuxcontainers.org
Fri Nov 4 18:56:18 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 301 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20161104/be76aa9a/attachment.bin>
-------------- next part --------------
From e65cd44576185266eff6b50fd538921a55c0c2c5 Mon Sep 17 00:00:00 2001
From: Vahe Khachikyan <vahe at live.ca>
Date: Fri, 4 Nov 2016 14:56:08 -0400
Subject: [PATCH] Fixed minor typo in checkNetwork error message

---
 lxc/init.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxc/init.go b/lxc/init.go
index 315fa71..8da683d 100644
--- a/lxc/init.go
+++ b/lxc/init.go
@@ -312,5 +312,5 @@ func (c *initCmd) checkNetwork(d *lxd.Client, name string) {
 
 	fmt.Fprintf(os.Stderr, "\n"+i18n.G("The container you are starting doesn’t have any network attached to it.")+"\n")
 	fmt.Fprintf(os.Stderr, "  "+i18n.G("To create a new network, use: lxc network create")+"\n")
-	fmt.Fprintf(os.Stderr, "  "+i18n.G("To assign a network to a container, use: lxc network assign")+"\n\n")
+	fmt.Fprintf(os.Stderr, "  "+i18n.G("To assign a network to a container, use: lxc network attach")+"\n\n")
 }


More information about the lxc-devel mailing list