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

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) ===
Closes #7287

Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From 747c6ba846da328ccf4ab77729500e2322762bd1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@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 <stgra...@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
        }
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to