api/client: have cli.call() return headers

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
Upstream-commit: 0cdc3b7539b618778becf233157604698b4e8281
Component: engine
This commit is contained in:
Josh Hawn
2015-05-13 18:36:36 -07:00
parent a487d04de7
commit 1f7c141bcf
19 changed files with 40 additions and 40 deletions

View File

@ -23,7 +23,7 @@ func (cli *DockerCli) CmdExec(args ...string) error {
return StatusError{StatusCode: 1}
}
stream, _, err := cli.call("POST", "/containers/"+execConfig.Container+"/exec", execConfig, nil)
stream, _, _, err := cli.call("POST", "/containers/"+execConfig.Container+"/exec", execConfig, nil)
if err != nil {
return err
}