mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 20:51:44 +00:00
Merge pull request #7162 from nathanleclaire/tar-with-options-err-check
Add missing error check
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