Files
docker-cli/cli/command/container
Kir Kolyshkin 395957155f cli/command/container: don't leak context
Switch from x/net/context to context made "go vet" see the previously
unseen errors:

> cli/command/container/start.go:57::error: the cancelFun function is
> not used on all paths (possible context leak) (vet)
> cli/command/container/start.go:63::error: this return statement may be
> reached without using the cancelFun var defined on line 57 (vet)

> cli/command/container/run.go:159::error: the cancelFun function is not
> used on all paths (possible context leak) (vet)
> cli/command/container/run.go:164::error: this return statement may be
> reached without using the cancelFun var defined on line 159 (vet)

Do call the cancel function.

Note we might end up calling it twice which is fine as long as I can see
from the Go 1.10 source code.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2018-05-11 16:50:04 -07:00
..
2018-05-11 16:49:43 -07:00
2017-10-26 12:21:02 -04:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2018-03-19 10:02:40 +01:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2018-03-06 15:43:53 -05:00
2018-05-11 16:49:43 -07:00
2018-03-06 14:38:35 -05:00
2018-05-11 16:49:43 -07:00
2018-03-06 15:27:34 -05:00
2018-02-27 12:14:07 +01:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2018-03-06 15:43:53 -05:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2018-03-19 10:02:40 +01:00
2018-03-05 19:41:17 -05:00
2017-05-08 15:57:56 -04:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00
2018-05-11 16:49:43 -07:00