The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/6489
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 #6477 Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From 0b49d9e1db0e43e729abc0f59174b30fff546ca6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com> Date: Thu, 21 Nov 2019 11:26:18 -0500 Subject: [PATCH] lxd/storage/cephfs: Properly handle root path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #6477 Signed-off-by: Stéphane Graber <stgra...@ubuntu.com> --- lxd/storage/drivers/driver_cephfs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxd/storage/drivers/driver_cephfs.go b/lxd/storage/drivers/driver_cephfs.go index 8fbcc0f2c3..4ed2b258a5 100644 --- a/lxd/storage/drivers/driver_cephfs.go +++ b/lxd/storage/drivers/driver_cephfs.go @@ -264,7 +264,7 @@ func (d *cephfs) Mount() (bool, error) { // Parse the namespace / path. fields := strings.SplitN(d.config["cephfs.path"], "/", 2) fsName := fields[0] - fsPath := "/" + fsPath := "" if len(fields) > 1 { fsPath = fields[1] }
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel