Add missing error check
Docker-DCO-1.1-Signed-off-by: Nathan LeClaire <nathan.leclaire@docker.com> (github: nathanleclaire) Upstream-commit: a1c5f268e5465e0b3cdb4e2a47c0ade3de7988c0 Component: engine
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user