Merge pull request #6268 from baude/varlinkbuild2

Fix EOM for SendFile
This commit is contained in:
OpenShift Merge Robot 2020-05-18 21:17:00 +02:00 committed by GitHub
commit 50ceb261ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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