[lxc-devel] [lxd/master] DB: Corrects comment on GetCreatedNetworks

tomponline on Github lxc-bot at linuxcontainers.org
Wed Dec 16 15:56:37 UTC 2020


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 361 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20201216/9f23a34c/attachment.bin>
-------------- next part --------------
From c83abda1839a80b74b60d6a238b7e84968fd0eea Mon Sep 17 00:00:00 2001
From: Thomas Parrott <thomas.parrott at canonical.com>
Date: Wed, 16 Dec 2020 15:55:53 +0000
Subject: [PATCH] lxd/db/networks: Corrects comment on GetCreatedNetworks

Signed-off-by: Thomas Parrott <thomas.parrott at canonical.com>
---
 lxd/db/networks.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxd/db/networks.go b/lxd/db/networks.go
index be30549ed8..bca1e1ea4f 100644
--- a/lxd/db/networks.go
+++ b/lxd/db/networks.go
@@ -422,7 +422,7 @@ func (c *Cluster) GetNetworks(project string) ([]string, error) {
 	return c.networks(project, "")
 }
 
-// GetCreatedNetworks returns the names of all networks that are not in state networkCreated.
+// GetCreatedNetworks returns the names of all networks that are in state networkCreated.
 func (c *Cluster) GetCreatedNetworks(project string) ([]string, error) {
 	return c.networks(project, "state=?", networkCreated)
 }


More information about the lxc-devel mailing list