summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkg/varlinkapi/transfers.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/varlinkapi/transfers.go b/pkg/varlinkapi/transfers.go
index 9df8ffcdc..b406f6aed 100644
--- a/pkg/varlinkapi/transfers.go
+++ b/pkg/varlinkapi/transfers.go
@@ -4,6 +4,7 @@ package varlinkapi
import (
"bufio"
+ "fmt"
"io"
"io/ioutil"
"os"
@@ -39,7 +40,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(fmt.Sprintf("%s:", outputFile.Name()))
call.Call.Writer.Flush()
return nil