1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #7162 from nathanleclaire/tar-with-options-err-check

Add missing error check
This commit is contained in:
Victor Vieux 2014-07-22 11:37:21 -07:00
commit c838a4be29

View file

@ -188,6 +188,9 @@ func (cli *DockerCli) CmdBuild(args ...string) error {
}
}
context, err = archive.TarWithOptions(root, options)
if err != nil {
return err
}
}
var body io.Reader
// Setup an upload progress bar