The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/5202
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: Stéphane Graber <stgra...@ubuntu.com>
From 055a41f71630f893017d910c04f20143cdb1bf23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com> Date: Wed, 24 Oct 2018 11:08:12 -0600 Subject: [PATCH] lxd/projects: Fix clustered exec/console MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber <stgra...@ubuntu.com> --- lxd/container_console.go | 2 +- lxd/container_exec.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lxd/container_console.go b/lxd/container_console.go index f5270af7e2..b12f060fe5 100644 --- a/lxd/container_console.go +++ b/lxd/container_console.go @@ -275,7 +275,7 @@ func containerConsolePost(d *Daemon, r *http.Request) Response { } if client != nil { - url := fmt.Sprintf("/containers/%s/console", name) + url := fmt.Sprintf("/containers/%s/console?project=%s", name, project) op, _, err := client.RawOperation("POST", url, post, "") if err != nil { return SmartError(err) diff --git a/lxd/container_exec.go b/lxd/container_exec.go index 2a1d5049e0..1d0bfeec20 100644 --- a/lxd/container_exec.go +++ b/lxd/container_exec.go @@ -353,7 +353,7 @@ func containerExecPost(d *Daemon, r *http.Request) Response { } if client != nil { - url := fmt.Sprintf("/containers/%s/exec", name) + url := fmt.Sprintf("/containers/%s/exec?project=%s", name, project) op, _, err := client.RawOperation("POST", url, post, "") if err != nil { return SmartError(err)
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel