The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/2492
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) === Don't mind me, I'm a barbarian. Signed-off-by: Tycho Andersen <tycho.ander...@canonical.com>
From f5e435c8a07d1ea1f96a27639732d489e69c2485 Mon Sep 17 00:00:00 2001 From: Tycho Andersen <tycho.ander...@canonical.com> Date: Thu, 13 Oct 2016 17:57:13 -0600 Subject: [PATCH] lxd netcat: remove debugging by file creation Don't mind me, I'm a barbarian. Signed-off-by: Tycho Andersen <tycho.ander...@canonical.com> --- lxd/rsync.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lxd/rsync.go b/lxd/rsync.go index 22f2143..6369d1c 100644 --- a/lxd/rsync.go +++ b/lxd/rsync.go @@ -198,22 +198,14 @@ func Netcat(args []string) error { go func() { io.Copy(os.Stdout, conn) - f, _ := os.Create("/tmp/done_stdout") - f.Close() conn.Close() - f, _ = os.Create("/tmp/done_close") - f.Close() wg.Done() }() go func() { io.Copy(conn, os.Stdin) - f, _ := os.Create("/tmp/done_stdin") - f.Close() }() - f, _ := os.Create("/tmp/done_spawning_goroutines") - f.Close() wg.Wait() return nil
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel