The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/2161
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) === Signed-off-by: Tycho Andersen <tycho.ander...@canonical.com>
From c718e09fe546fa904462a60755a07148657d3ab3 Mon Sep 17 00:00:00 2001 From: Tycho Andersen <tycho.ander...@canonical.com> Date: Mon, 27 Jun 2016 16:44:32 -0600 Subject: [PATCH] improve error message Signed-off-by: Tycho Andersen <tycho.ander...@canonical.com> --- lxd/container_lxc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxd/container_lxc.go b/lxd/container_lxc.go index 6fd0ee4..c3f87a3 100644 --- a/lxd/container_lxc.go +++ b/lxd/container_lxc.go @@ -3990,7 +3990,7 @@ func (c *containerLXC) createDiskDevice(name string, m shared.Device) (string, e if isOptional { return "", nil } - return "", fmt.Errorf("Source path doesn't exist") + return "", fmt.Errorf("Source path %s doesn't exist for device %s", srcPath, name) } // Create the devices directory if missing
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel