[lxc-devel] [lxd/master] lxc/image: Actually refresh multiple images
stgraber on Github
lxc-bot at linuxcontainers.org
Fri May 1 17:27:01 UTC 2020
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 370 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200501/9e0cb43e/attachment.bin>
-------------- next part --------------
From 747c6ba846da328ccf4ab77729500e2322762bd1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Fri, 1 May 2020 13:26:37 -0400
Subject: [PATCH] lxc/image: Actually refresh multiple images
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Closes #7287
Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
lxc/image.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lxc/image.go b/lxc/image.go
index 2991074c00..6ed0e13dab 100644
--- a/lxc/image.go
+++ b/lxc/image.go
@@ -1286,7 +1286,7 @@ func (c *cmdImageRefresh) Run(cmd *cobra.Command, args []string) error {
}
// Parse remote
- resources, err := c.global.ParseServers(args[0])
+ resources, err := c.global.ParseServers(args...)
if err != nil {
return err
}
More information about the lxc-devel
mailing list