The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/2400
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) === output now looks like: ~/packages/go/src/github.com/lxc/lxd master lxc start kernel:foo2 error: Missing parent 'lxcbr0' for nic 'eth0' Try `lxc info --show-log kernel:foo2` for more info Closes #1843 Signed-off-by: Tycho Andersen <tycho.ander...@canonical.com>
From 238822d060b6533a1adbf99901e39dd2737344ed Mon Sep 17 00:00:00 2001 From: Tycho Andersen <tycho.ander...@canonical.com> Date: Mon, 19 Sep 2016 09:57:39 -0600 Subject: [PATCH] include remote name in pretty printed error message output now looks like: ~/packages/go/src/github.com/lxc/lxd master lxc start kernel:foo2 error: Missing parent 'lxcbr0' for nic 'eth0' Try `lxc info --show-log kernel:foo2` for more info Closes #1843 Signed-off-by: Tycho Andersen <tycho.ander...@canonical.com> --- lxc/launch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc/launch.go b/lxc/launch.go index c180704..f68e2c6 100644 --- a/lxc/launch.go +++ b/lxc/launch.go @@ -129,7 +129,7 @@ func (c *launchCmd) run(config *lxd.Config, args []string) error { err = d.WaitForSuccess(resp.Operation) if err != nil { - return fmt.Errorf("%s\n"+i18n.G("Try `lxc info --show-log %s` for more info"), err, name) + return fmt.Errorf("%s\n"+i18n.G("Try `lxc info --show-log %s:%s` for more info"), err, remote, name) } return nil
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel