summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-18 21:17:00 +0200
committerGitHub <noreply@github.com>2020-05-18 21:17:00 +0200
commit50ceb261ef538e0071c2c99edb5e0ecd524d5dbd (patch)
tree787823147caf627d8c43f71c3d143535b345cbd1
parentd6d45003c926ae5587177eab0d195c14d4286126 (diff)
parent6f224d0886a8b721439c42fb6619fd592834d12e (diff)
downloadpodman-50ceb261ef538e0071c2c99edb5e0ecd524d5dbd.tar.gz
podman-50ceb261ef538e0071c2c99edb5e0ecd524d5dbd.tar.bz2
podman-50ceb261ef538e0071c2c99edb5e0ecd524d5dbd.zip
Merge pull request #6268 from baude/varlinkbuild2
Fix EOM for SendFile
-rw-r--r--pkg/varlinkapi/transfers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/varlinkapi/transfers.go b/pkg/varlinkapi/transfers.go
index 9df8ffcdc..aed6e054d 100644
--- a/pkg/varlinkapi/transfers.go
+++ b/pkg/varlinkapi/transfers.go
@@ -39,7 +39,7 @@ func (i *VarlinkAPI) SendFile(call iopodman.VarlinkCall, ftype string, length in
logrus.Debugf("successfully received %s", outputFile.Name())
// Send an ACK to the client
- call.Call.Writer.WriteString(outputFile.Name())
+ call.Call.Writer.WriteString(outputFile.Name() + ":")
call.Call.Writer.Flush()
return nil