cli/command/container: collect: handle context-cancellation · docker/cli@e01ce69 · GitHub
Skip to content

Commit e01ce69

Browse files
committed
cli/command/container: collect: handle context-cancellation
construct the decoder inside the go-routine, including closing the body, and add handling for context-cancellation. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 292001a commit e01ce69

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

‎cli/command/container/stats_helpers.go‎

Lines changed: 11 additions & 5 deletions

0 commit comments

Comments
 (0)