diff options
author | Jhon Honce <jhonce@redhat.com> | 2020-06-15 09:06:56 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2020-06-15 11:41:57 -0700 |
commit | 2e22e18afbaba175a0328b0d70ca4d6bb15c441e (patch) | |
tree | 8b0cf532379ba1e6334bcac092daa5333517c3e2 /pkg | |
parent | 2c7b39ddb8961bf547a36420407adb461dd4c227 (diff) | |
download | podman-2e22e18afbaba175a0328b0d70ca4d6bb15c441e.tar.gz podman-2e22e18afbaba175a0328b0d70ca4d6bb15c441e.tar.bz2 podman-2e22e18afbaba175a0328b0d70ca4d6bb15c441e.zip |
Add deprecated message to varlink command
* Remove varlink references from the man pages
* Fix signature for extractTarFile()
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/api/handlers/compat/images_build.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/api/handlers/compat/images_build.go b/pkg/api/handlers/compat/images_build.go index 399c104e9..913994f46 100644 --- a/pkg/api/handlers/compat/images_build.go +++ b/pkg/api/handlers/compat/images_build.go @@ -40,7 +40,7 @@ func BuildImage(w http.ResponseWriter, r *http.Request) { } } - anchorDir, err := extractTarFile(r, w) + anchorDir, err := extractTarFile(r) if err != nil { utils.InternalServerError(w, err) return @@ -241,7 +241,7 @@ func BuildImage(w http.ResponseWriter, r *http.Request) { }) } -func extractTarFile(r *http.Request, w http.ResponseWriter) (string, error) { +func extractTarFile(r *http.Request) (string, error) { // build a home for the request body anchorDir, err := ioutil.TempDir("", "libpod_builder") if err != nil { |