mirror of https://github.com/docker/docs.git
Original: on line 18 we have `images, err := cli.ImageList(context.Background(), types.ImageListOptions{})` which gives us an error of: ``` # command-line-arguments ./main.go:12:2: ctx declared but not used ``` *Fix:* on line 18 we need to have `images, err := cli.ImageList(ctx, types.ImageListOptions{})` |
||
---|---|---|
.. | ||
latest | ||
sdk | ||
index.md | ||
v1.25.md | ||
v1.26.md | ||
v1.27.md | ||
v1.28.md | ||
v1.29.md | ||
v1.30.md | ||
v1.31.md | ||
v1.32.md | ||
v1.33.md | ||
v1.34.md | ||
v1.35.md | ||
v1.36.md | ||
v1.37.md | ||
v1.38.md | ||
v1.39.md | ||
v1.40.md |