1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/ioutils
Kir Kolyshkin 05e2f7e2fa context.WithTimeout: do call the cancel func
govet complains (when using standard "context" package):

> the cancel function returned by context.WithTimeout should be called,
> not discarded, to avoid a context leak (vet)

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2018-04-20 12:27:13 -07:00
..
buffer.go Add canonical import comment 2018-02-05 16:51:57 -05:00
buffer_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
bytespipe.go Add canonical import comment 2018-02-05 16:51:57 -05:00
bytespipe_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
fswriters.go Add canonical import comment 2018-02-05 16:51:57 -05:00
fswriters_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
readers.go Add canonical import comment 2018-02-05 16:51:57 -05:00
readers_test.go context.WithTimeout: do call the cancel func 2018-04-20 12:27:13 -07:00
temp_unix.go Add canonical import comment 2018-02-05 16:51:57 -05:00
temp_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
writeflusher.go Add canonical import comment 2018-02-05 16:51:57 -05:00
writers.go Add canonical import comment 2018-02-05 16:51:57 -05:00
writers_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00