Farewell extra line. You were pretty but out of place.
This commit is contained in:
parent
047382eec9
commit
3523ffdce1
|
@ -198,7 +198,6 @@ func (c *Communicator) UploadDir(dst string, src string, exclude []string) error
|
||||||
// path and want to write to an io.Writer, not a file. We use - to make docker
|
// path and want to write to an io.Writer, not a file. We use - to make docker
|
||||||
// cp to write to stdout, and then copy the stream to our destination io.Writer.
|
// cp to write to stdout, and then copy the stream to our destination io.Writer.
|
||||||
func (c *Communicator) Download(src string, dst io.Writer) error {
|
func (c *Communicator) Download(src string, dst io.Writer) error {
|
||||||
|
|
||||||
log.Printf("Downloading file from container: %s:%s", c.ContainerId, src)
|
log.Printf("Downloading file from container: %s:%s", c.ContainerId, src)
|
||||||
localCmd := exec.Command("docker", "cp", fmt.Sprintf("%s:%s", c.ContainerId, src), "-")
|
localCmd := exec.Command("docker", "cp", fmt.Sprintf("%s:%s", c.ContainerId, src), "-")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue