The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/5795
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: Joel Hockey <[email protected]>
From 1aaf40c9990e273c4444d2695cbc9808485b825b Mon Sep 17 00:00:00 2001 From: Joel Hockey <[email protected]> Date: Thu, 23 May 2019 19:54:21 -0700 Subject: [PATCH] lxd/images fix compressErr return Signed-off-by: Joel Hockey <[email protected]> --- lxd/images.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxd/images.go b/lxd/images.go index 5753ba5342..8342a9e4d2 100644 --- a/lxd/images.go +++ b/lxd/images.go @@ -274,7 +274,7 @@ func imgPostContInfo(d *Daemon, r *http.Request, req api.ImagesPost, op *operati return nil, err } if compressErr != nil { - return nil, err + return nil, compressErr } imageFile.Close()
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
