The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/1956
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) === 068313ad07d8971cd148a345463310227fcdad39 moved the config file to a non-temp file, so let's not delete it. Signed-off-by: Tycho Andersen <tycho.ander...@canonical.com>
From a23016bd81c51c5aaf125d4a3ca2346dcd0b0821 Mon Sep 17 00:00:00 2001 From: Tycho Andersen <tycho.ander...@canonical.com> Date: Wed, 27 Apr 2016 17:34:08 +0000 Subject: [PATCH] don't remove config file on forkmigrate 068313ad07d8971cd148a345463310227fcdad39 moved the config file to a non-temp file, so let's not delete it. Signed-off-by: Tycho Andersen <tycho.ander...@canonical.com> --- lxd/migrate.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/lxd/migrate.go b/lxd/migrate.go index aee88c1..fdaab35 100644 --- a/lxd/migrate.go +++ b/lxd/migrate.go @@ -712,8 +712,6 @@ func MigrateContainer(args []string) error { configPath := args[3] imagesDir := args[4] - defer os.Remove(configPath) - c, err := lxc.NewContainer(name, lxcpath) if err != nil { return err
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel