The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/3481
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 #3479. Signed-off-by: Christian Brauner <[email protected]>
From a2cd904d63fb9e882136b24438e4cbf598c3cd33 Mon Sep 17 00:00:00 2001 From: Christian Brauner <[email protected]> Date: Sun, 2 Jul 2017 22:17:56 +0200 Subject: [PATCH] import: remove last dependency on symlink Closes #3479. Signed-off-by: Christian Brauner <[email protected]> --- lxd/api_internal.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lxd/api_internal.go b/lxd/api_internal.go index 271571844..c01673390 100644 --- a/lxd/api_internal.go +++ b/lxd/api_internal.go @@ -183,7 +183,8 @@ func internalImport(d *Daemon, r *http.Request) Response { } // Read in the backup.yaml file. - backup, err := slurpBackupFile(shared.VarPath("containers", req.Name, "backup.yaml")) + backupYamlPath := shared.VarPath("storage-pools", "containers", req.Name, "backup.yaml") + backup, err := slurpBackupFile(backupYamlPath) if err != nil { return SmartError(err) }
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
