Merge pull request #10887 from carthurs/master

Basic go example was not working with v1.41
This commit is contained in:
Chris Crone 2020-07-16 14:09:17 +02:00 committed by GitHub
commit 9b6fff076e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -66,8 +66,8 @@ func main() {
resp, err := cli.ContainerCreate(ctx, &container.Config{
Image: "alpine",
Cmd: []string{"echo", "hello world"},
Tty: true,
}, nil, nil, "")
Tty: false,
}, nil, nil, nil, "")
if err != nil {
panic(err)
}