From de2f91ac4a5bc7bb12a32828a6665f5000ddcba9 Mon Sep 17 00:00:00 2001 From: Marcos Lilljedahl Date: Tue, 10 Oct 2017 17:06:03 -0300 Subject: [PATCH] Update due to docker/client API change --- docker/docker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/docker.go b/docker/docker.go index 94af63d..70b9cca 100644 --- a/docker/docker.go +++ b/docker/docker.go @@ -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 }