The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/6154
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 <stgra...@ubuntu.com>
From 8a1dcabedcb880468c239e898745e51f972f7bdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com> Date: Thu, 5 Sep 2019 14:16:07 -0400 Subject: [PATCH] lxc/file: Fix error handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber <stgra...@ubuntu.com> --- lxc/file.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/lxc/file.go b/lxc/file.go index bf6251d6b3..0c03d3c1a6 100644 --- a/lxc/file.go +++ b/lxc/file.go @@ -50,8 +50,6 @@ func fileGetWrapper(server lxd.ContainerServer, container string, path string) ( count := 0 for { - var err error - select { case <-chDone: return buf, resp, err
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel