diff options
author | Matej Vasek <mvasek@redhat.com> | 2021-06-01 15:05:13 +0200 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2021-06-03 13:54:57 -0400 |
commit | 4b8ca63039e411fb890df3a4b38b768499f3f012 (patch) | |
tree | d1c28bad1c1dc8c2ffaf0f87454dd8dccb334c63 /cmd/podman/healthcheck | |
parent | 326c758bfd74f48a16a02db1d9d950f128156683 (diff) | |
download | podman-4b8ca63039e411fb890df3a4b38b768499f3f012.tar.gz podman-4b8ca63039e411fb890df3a4b38b768499f3f012.tar.bz2 podman-4b8ca63039e411fb890df3a4b38b768499f3f012.zip |
Use request context instead of background
This prevents goroutine leak:
If background context were used then push operation would continue even
if client aborted request by closing connection.
[NO TESTS NEEDED]
Signed-off-by: Matej Vasek <mvasek@redhat.com>
Diffstat (limited to 'cmd/podman/healthcheck')
0 files changed, 0 insertions, 0 deletions