mirror of https://github.com/docker/docs.git
Merge pull request #11059 from andrealmar/fixing-ImageList-Go-code
Fixing ImageList Go code
This commit is contained in:
commit
6775518067
|
@ -471,7 +471,7 @@ func main() {
|
|||
panic(err)
|
||||
}
|
||||
|
||||
images, err := cli.ImageList(context.Background(), types.ImageListOptions{})
|
||||
images, err := cli.ImageList(ctx, types.ImageListOptions{})
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue