summaryrefslogtreecommitdiff
path: root/pkg/varlinkapi/transfers.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-14 15:40:52 +0100
committerGitHub <noreply@github.com>2019-02-14 15:40:52 +0100
commit0cd22435964573231ab32e545d5f319821b35b14 (patch)
tree4325f9e495b6761b64d984ec32ebf0c8b9cca185 /pkg/varlinkapi/transfers.go
parentdfc64e15d7f8b1715798fd68bd3ff74ae192b354 (diff)
parentef85dd7950800fdce9ab58724921507cba31004b (diff)
downloadpodman-0cd22435964573231ab32e545d5f319821b35b14.tar.gz
podman-0cd22435964573231ab32e545d5f319821b35b14.tar.bz2
podman-0cd22435964573231ab32e545d5f319821b35b14.zip
Merge pull request #2321 from baude/remotebuild
podman-remote build
Diffstat (limited to 'pkg/varlinkapi/transfers.go')
-rw-r--r--pkg/varlinkapi/transfers.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/varlinkapi/transfers.go b/pkg/varlinkapi/transfers.go
index 0cb7e5e2e..9a97bc810 100644
--- a/pkg/varlinkapi/transfers.go
+++ b/pkg/varlinkapi/transfers.go
@@ -8,6 +8,7 @@ import (
"os"
"github.com/containers/libpod/cmd/podman/varlink"
+ "github.com/sirupsen/logrus"
)
// SendFile allows a client to send a file to the varlink server
@@ -34,6 +35,7 @@ func (i *LibpodAPI) SendFile(call iopodman.VarlinkCall, ftype string, length int
return err
}
+ logrus.Debugf("successfully received %s", outputFile.Name())
// Send an ACK to the client
call.Call.Writer.WriteString(fmt.Sprintf("%s:", outputFile.Name()))
call.Call.Writer.Flush()