summaryrefslogtreecommitdiff
path: root/cmd/podman/import.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-11-28 08:18:24 -0800
committerGitHub <noreply@github.com>2018-11-28 08:18:24 -0800
commitf3289fed2e8c0183820e8d86dabe6a262cb6f601 (patch)
treedc45cc5a718ab555b7a02fb1a6c5c2c8340f8cd8 /cmd/podman/import.go
parentade0b3084436f1b9325fd689529db03294a0d1f8 (diff)
parent61d4db480650c57d383990750ed87990e903f4da (diff)
downloadpodman-f3289fed2e8c0183820e8d86dabe6a262cb6f601.tar.gz
podman-f3289fed2e8c0183820e8d86dabe6a262cb6f601.tar.bz2
podman-f3289fed2e8c0183820e8d86dabe6a262cb6f601.zip
Merge pull request #1880 from baude/f29fixes
Fix golang formatting issues
Diffstat (limited to 'cmd/podman/import.go')
-rw-r--r--cmd/podman/import.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/import.go b/cmd/podman/import.go
index be516e4fa..144354fa6 100644
--- a/cmd/podman/import.go
+++ b/cmd/podman/import.go
@@ -139,7 +139,7 @@ func downloadFromURL(source string) (string, error) {
_, err = io.Copy(outFile, response.Body)
if err != nil {
- return "", errors.Wrapf(err, "error saving %q to %q", source, outFile)
+ return "", errors.Wrapf(err, "error saving %s to %s", source, outFile.Name())
}
return outFile.Name(), nil