Farewell extra line. You were pretty but out of place.

This commit is contained in:
Chris Bednarski 2015-08-12 11:36:10 -07:00
parent 047382eec9
commit 3523ffdce1
1 changed files with 0 additions and 1 deletions

View File

@ -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), "-")