diff options
author | Matej Vasek <mvasek@redhat.com> | 2021-06-01 15:05:13 +0200 |
---|---|---|
committer | Matej Vasek <mvasek@redhat.com> | 2021-06-01 15:25:20 +0200 |
commit | ad182976b6bcdccd32a31f89a765657b0d1b76da (patch) | |
tree | b369f834123915194db745ccdc1eee2aa2e2762c /pkg/api/handlers/libpod/secrets.go | |
parent | 7dd463bad1b53802caf3cc1e1e1cc4a250e1667a (diff) | |
download | podman-ad182976b6bcdccd32a31f89a765657b0d1b76da.tar.gz podman-ad182976b6bcdccd32a31f89a765657b0d1b76da.tar.bz2 podman-ad182976b6bcdccd32a31f89a765657b0d1b76da.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 'pkg/api/handlers/libpod/secrets.go')
0 files changed, 0 insertions, 0 deletions