diff options
author | Matej Vasek <mvasek@redhat.com> | 2021-05-31 17:06:19 +0200 |
---|---|---|
committer | Matej Vasek <mvasek@redhat.com> | 2021-06-01 11:54:31 +0200 |
commit | ef8ba99ff6933e37d7488596ba7919c0e09a4ae8 (patch) | |
tree | 4ebf6b24ab8cf9e6e236817c460006b24361efb4 /libpod/stats.go | |
parent | 59236762eca31a20d886837698db58e259a21de5 (diff) | |
download | podman-ef8ba99ff6933e37d7488596ba7919c0e09a4ae8.tar.gz podman-ef8ba99ff6933e37d7488596ba7919c0e09a4ae8.tar.bz2 podman-ef8ba99ff6933e37d7488596ba7919c0e09a4ae8.zip |
Use request context instead of background context
This fixes a goroutine leak. Previously if request was cancelled the
image pulling goroutine kept running regardless.
[NO TESTS NEEDED]
Signed-off-by: Matej Vasek <mvasek@redhat.com>
Diffstat (limited to 'libpod/stats.go')
0 files changed, 0 insertions, 0 deletions