The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/4977
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 <[email protected]>
From 54fe3ac44d281545eb88bfb396f037a4f569b6e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= <[email protected]> Date: Sun, 26 Aug 2018 19:00:29 -0400 Subject: [PATCH] lxd/containers: Fix bad function name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber <[email protected]> --- lxd/container_file.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lxd/container_file.go b/lxd/container_file.go index 80ad1552f2..035f2d8117 100644 --- a/lxd/container_file.go +++ b/lxd/container_file.go @@ -38,7 +38,7 @@ func containerFileHandler(d *Daemon, r *http.Request) Response { case "GET": return containerFileGet(c, path, r) case "POST": - return containerFilePut(c, path, r) + return containerFilePost(c, path, r) case "DELETE": return containerFileDelete(c, path, r) default: @@ -91,7 +91,7 @@ func containerFileGet(c container, path string, r *http.Request) Response { } } -func containerFilePut(c container, path string, r *http.Request) Response { +func containerFilePost(c container, path string, r *http.Request) Response { // Extract file ownership and mode from headers uid, gid, mode, type_, write := shared.ParseLXDFileHeaders(r.Header)
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
