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

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 #1773

Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From e7b5e70285d6b66786e9a8e3bcf016885bc2801e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com>
Date: Thu, 17 Mar 2016 16:52:12 -0400
Subject: [PATCH] Fix container shutdown to actually happen in parallel
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Closes #1773

Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
---
 lxd/containers.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxd/containers.go b/lxd/containers.go
index 6a02273..a7a8351 100644
--- a/lxd/containers.go
+++ b/lxd/containers.go
@@ -159,8 +159,8 @@ func containersShutdown(d *Daemon) error {
                                wg.Done()
                        }()
                }
-               wg.Wait()
        }
+       wg.Wait()
 
        return nil
 }
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to