Update due to docker/client API change

This commit is contained in:
Marcos Lilljedahl
2017-10-10 17:06:03 -03:00
parent e9dd97e4e4
commit de2f91ac4a

View File

@@ -431,7 +431,7 @@ func (d *docker) ExecAttach(instanceName string, command []string, out io.Writer
if err != nil {
return 0, err
}
resp, err := d.c.ContainerExecAttach(context.Background(), e.ID, types.ExecConfig{AttachStdout: true, AttachStderr: true, Tty: true})
resp, err := d.c.ContainerExecAttach(context.Background(), e.ID, types.ExecStartCheck{Tty: true})
if err != nil {
return 0, err
}