The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/3428
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: Stéphane Graber <[email protected]>
From ce27784b0c656843f61b27deacb7c226a938e83c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= <[email protected]> Date: Tue, 20 Jun 2017 11:18:14 -0400 Subject: [PATCH] lxd/images; Initialize image info in direct case MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber <[email protected]> --- lxd/daemon_images.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lxd/daemon_images.go b/lxd/daemon_images.go index b2023d42f..44bbdcd32 100644 --- a/lxd/daemon_images.go +++ b/lxd/daemon_images.go @@ -466,6 +466,7 @@ func (d *Daemon) ImageDownload(op *operation, server string, protocol string, ce return nil, err } + info = &api.Image{} info.Size = size info.Architecture = imageMeta.Architecture info.CreatedAt = time.Unix(imageMeta.CreationDate, 0)
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
